From 38e9373b0d668d9e8347e0d6adce218480d41661 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 11 Jul 2016 10:23:08 +0300 Subject: 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. --- gnu/packages/base.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'gnu/packages/base.scm') diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 422424cbe8..ed1f84c470 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -732,7 +732,16 @@ (define-public glibc-2.21 (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 -- cgit v1.2.3