gnu: gcc-toolchain: Don't try to delete OUT/bin/sh, which no longer exists.

* gnu/packages/commencement.scm (gcc-toolchain)[arguments]: Remove code that
  deletes OUT/bin/sh and OUT/bin/bash, since those files no longer exist in
  our libc package.
This commit is contained in:
Mark H Weaver 2015-09-15 16:12:35 -04:00
parent c136546aaa
commit d02f38f3f8

View file

@ -867,14 +867,6 @@ (define (gcc-toolchain gcc)
(((names . directories) ...)
(union-build out directories)))
;; Remove the 'sh' and 'bash' binaries that come with
;; libc to avoid polluting the user's profile (these are
;; statically-linked binaries with no locale support and
;; so on.)
(for-each (lambda (file)
(delete-file (string-append out "/bin/" file)))
'("sh" "bash"))
(union-build (assoc-ref %outputs "debug")
(list (assoc-ref %build-inputs
"libc-debug")))))))