builder: work around duplicate package files

This commit is contained in:
Astro 2022-06-10 20:50:07 +02:00
parent 1202258616
commit 0235771a7a
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ stdenv.mkDerivation {
in
lib.optionalString
(package.type == "real")
"ln -s ${package.file} packages/${package.filename}\n"
"[ -e packages/${package.filename} ] || ln -s ${package.file} packages/${package.filename}\n"
)
allRequiredPackages}