3
0
Fork 0
forked from mirrors/nixpkgs

podman: Link directly to podman.man instead of maping over outputs

This seems brittle and fails on Hydra / OfBorg but not locally.
This commit is contained in:
adisbladis 2020-05-05 00:28:00 +01:00 committed by zowoq
parent 5040192913
commit ba798d2c89

View file

@ -43,12 +43,7 @@ in runCommand podman.name {
];
} ''
# Symlink everything but $out from podman-unwrapped
${
lib.concatMapStringsSep "\n"
(o: "ln -s ${podman.${o}} ${placeholder o}")
(builtins.filter (o: o != "out")
podman.outputs)}
ln -s ${podman.man} $man
mkdir -p $out/bin
ln -s ${podman-unwrapped}/share $out/share