1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 12:00:35 +02:00

gnu: librewolf: Create lib/icecat so that ICECAT_SYSTEM_DIR is set.

This avoids issues with Native Messaging and non-guix add-ons:
<https://issues.guix.gnu.org/77415>.

* gnu/packages/librewolf.scm (librewolf)[arguments]: Add an
'mkdir-lib-icecat' phase.

Change-Id: I2e5dc8f599708c414c9266ee3453a6beac08ee66
Signed-off-by: Ian Eure <ian@retrospec.tv>
This commit is contained in:
Clément Lassieur 2025-04-09 16:35:16 +02:00 committed by Ian Eure
parent d12d2bc72e
commit 63f323fc98
No known key found for this signature in database
GPG key ID: 8499AC88F1A71CF2

View file

@ -5,7 +5,7 @@
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com> ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com> ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2017, 2025 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2017, 2018 Nikita <nikita@n0.is> ;;; Copyright © 2017, 2018 Nikita <nikita@n0.is>
;;; Copyright © 2017, 2018 ng0 <gillmann@infotropique.org> ;;; Copyright © 2017, 2018 ng0 <gillmann@infotropique.org>
;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
@ -625,7 +625,12 @@
"/default" size ".png") "/default" size ".png")
(string-append dest (string-append dest
"/librewolf.png")))) "/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. ;; Test will significantly increase build time but with little rewards.
#:tests? #f #:tests? #f