~ruther/guix-local

d02f38f3f8203154ec92c9d4fc2785835e91d2dc — Mark H Weaver 10 years ago c136546
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.
1 files changed, 0 insertions(+), 8 deletions(-)

M gnu/packages/commencement.scm
M gnu/packages/commencement.scm => gnu/packages/commencement.scm +0 -8
@@ 867,14 867,6 @@ COREUTILS-FINAL vs. COREUTILS, etc."
                       (((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")))))))