diff options
author | Andreas Enge <andreas@enge.fr> | 2015-02-15 17:40:17 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2015-02-16 10:13:40 +0100 |
commit | da466f7ff63e34aca271e603090f25ba471f009e (patch) | |
tree | 521f9cccbce8e94bdb4a215fe86cb4d0394eceeb /guix/build | |
parent | b01f89675d03202851a00c38d4995424bbb1879f (diff) | |
download | gnu-guix-da466f7ff63e34aca271e603090f25ba471f009e.tar gnu-guix-da466f7ff63e34aca271e603090f25ba471f009e.tar.gz |
utils: Preserve symbolic links in 'wrap-program'.
* guix/build/utils.scm (wrap-program): Preserve symbolic links instead of
copying the contents of the link.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Closes <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19743>.
Diffstat (limited to 'guix/build')
-rw-r--r-- | guix/build/utils.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/utils.scm b/guix/build/utils.scm index a3446cb617..6de1fa3b1e 100644 --- a/guix/build/utils.scm +++ b/guix/build/utils.scm @@ -837,7 +837,7 @@ the previous wrapper." (if (zero? number) (let ((prog-real (string-append (dirname prog) "/." (basename prog) "-real"))) - (copy-file prog prog-real) + (rename-file prog prog-real) prog-real) (wrapper-file-name number))) |