me
/
guix
Archived
1
0
Fork 0

gnu: guix: Use libexec/guix/guile in the 'guix' shebang.

This is a followup to 880fe019ae.

* gnu/packages/package-management.scm (guix)[arguments]: Delete
'patch-shebangs' phase.
master
Ludovic Courtès 2020-11-16 23:05:49 +01:00
parent 6cad3f6966
commit 37c21b130c
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 1 deletions

View File

@ -336,7 +336,13 @@ $(prefix)/etc/init.d\n")))
(let ((bash (assoc-ref inputs "bash")))
(substitute* (string-append out "/bin/guix")
(("^#!.*/bash") (string-append "#! " bash "/bin/bash")))))
#t))))))
#t)))
;; The 'guix' executable has 'OUT/libexec/guix/guile' has
;; its shebang; that should remain unchanged, thus remove
;; the 'patch-shebangs' phase, which would otherwise
;; change it to 'GUILE/bin/guile'.
(delete 'patch-shebangs))))
(native-inputs `(("pkg-config" ,pkg-config)
;; Guile libraries are needed here for