mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
Merge pull request #87076 from zowoq/podman-wrapper
podman: fix wrapper
This commit is contained in:
commit
1d53e7d5af
@ -54,5 +54,6 @@ buildGoPackage rec {
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ marsam ] ++ teams.podman.members;
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user