compress-drv: correct comment

This commit is contained in:
Sandro Jäckel 2024-08-19 13:19:27 +02:00
parent a1d5c9d11a
commit 0505523e98
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -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/{} ';')