diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-01-27 09:50:07 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-01-27 09:52:26 +0100 |
commit | d9b4cbc2a168ca3d248c5abf1f1d14c1808e6a20 (patch) | |
tree | dd9b810ec886703323282903dcfd9d30fed471f8 /gnu/packages/bash.scm | |
parent | 82a7a8c6671cb50a7886983af0c2d58d1cf62bc9 (diff) | |
download | guix-d9b4cbc2a168ca3d248c5abf1f1d14c1808e6a20.tar guix-d9b4cbc2a168ca3d248c5abf1f1d14c1808e6a20.tar.gz |
gnu: bash: Do not retain dependency on Coreutils.
Previously the "include" output of BASH-FINAL would refer to
'bootstrap-binaries' via 'Makefile.inc'.
* gnu/packages/bash.scm (bash)[arguments]: In 'move-development-files'
phase, remove absolute file name of 'install' from the 'INSTALL'
variable in 'Makefile.inc'.
* gnu/packages/commencement.scm (bash-final)[arguments]: Pass
#:disallowed-references.
Diffstat (limited to 'gnu/packages/bash.scm')
-rw-r--r-- | gnu/packages/bash.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index 0923f5d55a..96ebe991e4 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2015, 2017 Leo Famulari <leo@famulari.name> ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> @@ -171,6 +171,13 @@ number/base32-hash tuples, directly usable in the 'patch-series' form." (rename-file (string-append out "/lib/pkgconfig") (string-append include "/lib/pkgconfig")) + + ;; Don't capture the absolute file name of 'install' to avoid + ;; retaining a dependency on Coreutils. + (substitute* (string-append (lib include) + "/Makefile.inc") + (("^INSTALL =.*") + "INSTALL = install -c\n")) #t)))))) (native-search-paths |