mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
compress-drv: correct comment
This commit is contained in:
parent
a1d5c9d11a
commit
0505523e98
@ -84,8 +84,7 @@ runCommand "${drv.name}-compressed"
|
||||
''
|
||||
mkdir $out
|
||||
|
||||
# cannot use lndir here, because it also symlinks directories,
|
||||
# which we do not need; we only need to symlink files.
|
||||
# cannot use lndir here, because it stop recursing at symlinks that point to directories
|
||||
(cd ${drv}; find -L -type d -exec mkdir -p $out/{} ';')
|
||||
(cd ${drv}; find -L -type f -exec ln -s ${drv}/{} $out/{} ';')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user