Merge pull request #87076 from zowoq/podman-wrapper

podman: fix wrapper
This commit is contained in:
adisbladis 2020-05-06 15:17:30 +02:00 committed by GitHub
commit 1d53e7d5af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -54,5 +54,6 @@ buildGoPackage rec {
license = licenses.asl20;
maintainers = with maintainers; [ marsam ] ++ teams.podman.members;
platforms = platforms.unix;
broken = stdenv.isDarwin;
};
}

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