diff options
author | adisbladis <adisbladis@gmail.com> | 2020-05-05 00:28:00 +0100 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-05-06 21:09:12 +1000 |
commit | ba798d2c8976ca1b22fa03c62c6bbb91b38b4924 (patch) | |
tree | b434057303b0325ecc6317fadcc762fd62b81526 /pkgs | |
parent | 50401929137cdd1f681c59615602d4118f0b1eb4 (diff) |
podman: Link directly to podman.man instead of maping over outputs
This seems brittle and fails on Hydra / OfBorg but not locally.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/virtualization/podman/wrapper.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/applications/virtualization/podman/wrapper.nix b/pkgs/applications/virtualization/podman/wrapper.nix index 3b9b76c03ee0e..99233696b3ed4 100644 --- a/pkgs/applications/virtualization/podman/wrapper.nix +++ b/pkgs/applications/virtualization/podman/wrapper.nix @@ -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 |