gnu: glibc-2.21: Fix substitutes in glibc-2.21.

* gnu/packages/base.scm (glibc-2.21)[arguments]: Add back substitution
for /bin/pwd which was removed in the update of glibc to 2.23.
This commit is contained in:
Efraim Flashner 2016-07-11 10:23:08 +03:00
parent 4277313883
commit 38e9373b0d
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 10 additions and 1 deletions

View File

@ -732,7 +732,16 @@ GLIBC/HURD for a Hurd host"
(sha256
(base32
"1f135546j34s9bfkydmx2nhh9vwxlx60jldi80zmsnln6wj3dsxf"))
(patches (search-patches "glibc-ldd-x86_64.patch"))))))
(patches (search-patches "glibc-ldd-x86_64.patch"))))
(arguments
(substitute-keyword-arguments (package-arguments glibc)
((#:phases phases)
`(modify-phases ,phases
(add-before 'configure 'fix-pwd
(lambda _
;; Use `pwd' instead of `/bin/pwd' for glibc-2.21
(substitute* "configure"
(("/bin/pwd") "pwd"))))))))))
(define-public glibc-locales
(package