From 63f323fc98fb6e85c48721574aab8e54d95091e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Lassieur?= Date: Wed, 9 Apr 2025 16:35:16 +0200 Subject: [PATCH] gnu: librewolf: Create lib/icecat so that ICECAT_SYSTEM_DIR is set. This avoids issues with Native Messaging and non-guix add-ons: . * gnu/packages/librewolf.scm (librewolf)[arguments]: Add an 'mkdir-lib-icecat' phase. Change-Id: I2e5dc8f599708c414c9266ee3453a6beac08ee66 Signed-off-by: Ian Eure --- gnu/packages/librewolf.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm index 712c99bd2c5..47ac7c74a2b 100644 --- a/gnu/packages/librewolf.scm +++ b/gnu/packages/librewolf.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2015 Sou Bunnbu ;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner ;;; Copyright © 2016 Alex Griffin -;;; Copyright © 2017 Clément Lassieur +;;; Copyright © 2017, 2025 Clément Lassieur ;;; Copyright © 2017, 2018 Nikita ;;; Copyright © 2017, 2018 ng0 ;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice @@ -625,7 +625,12 @@ "/default" size ".png") (string-append dest "/librewolf.png")))) - '("16" "32" "48" "64" "128")))))) + '("16" "32" "48" "64" "128"))))) + ;; Make sure ICECAT_SYSTEM_DIR is set to avoid issues with Native + ;; Messaging and non-guix add-ons. + (add-after 'install-icons 'mkdir-lib-icecat + (lambda _ + (mkdir-p (string-append #$output "/lib/icecat"))))) ;; Test will significantly increase build time but with little rewards. #:tests? #f