Skip to content

Commit

Permalink
build-scripts/guix.scm: Forward GI_TYPELIB_PATH from environment.
Browse files Browse the repository at this point in the history
This includes all typelibs, not just that of gsettings-desktop-schemas.
  • Loading branch information
Ambrevar committed May 6, 2021
1 parent 07a9329 commit 4f09196
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions build-scripts/guix.scm
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
(lambda _
(setenv "HOME" "/tmp")
#t))
(add-before 'build 'set-version
(add-before 'build 'set-version ; TODO: Remove for 2.0.
(lambda _
(setenv "NYXT_VERSION" ,version)
#t))
Expand All @@ -123,12 +123,7 @@
(string-append (assoc-ref inputs lib) "/lib"))
libs)
":"))
(gi-path (string-join
(map (lambda (lib)
(string-append (assoc-ref inputs lib)
"/lib/girepository-1.0"))
libs)
":"))
(gi-path (getenv "GI_TYPELIB_PATH"))
(xdg-path (string-join
(map (lambda (lib)
(string-append (assoc-ref inputs lib) "/share"))
Expand All @@ -154,7 +149,7 @@
("sbcl" ,sbcl)
;; Only for development, unneeded for the upstream Guix package:
("cl-trivial-benchmark" ,cl-trivial-benchmark)
;; To generate the right version in Nyxt, unneeded from 2.0 onwards:
;; To generate the right version in Nyxt. TODO: unneeded from 2.0 onwards:
("git" ,git-minimal)))
(inputs
`(("alexandria" ,cl-alexandria)
Expand Down

0 comments on commit 4f09196

Please sign in to comment.