mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
podman: install systemd files
- install podman service and socket - install podman tmpfile
This commit is contained in:
parent
e66ded9c50
commit
8c8d4f3398
@ -63,6 +63,9 @@ buildGoModule rec {
|
|||||||
installShellCompletion --fish completions/fish/*
|
installShellCompletion --fish completions/fish/*
|
||||||
installShellCompletion --zsh completions/zsh/*
|
installShellCompletion --zsh completions/zsh/*
|
||||||
MANDIR=$man/share/man make install.man-nobuild
|
MANDIR=$man/share/man make install.man-nobuild
|
||||||
|
'' + lib.optionalString stdenv.isLinux ''
|
||||||
|
install -Dm644 contrib/tmpfile/podman.conf -t $out/lib/tmpfiles.d
|
||||||
|
install -Dm644 contrib/systemd/system/podman.{socket,service} -t $out/lib/systemd/system
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests = { inherit (nixosTests) podman; };
|
passthru.tests = { inherit (nixosTests) podman; };
|
||||||
|
@ -48,6 +48,7 @@ in runCommand podman.name {
|
|||||||
ln -s ${podman.man} $man
|
ln -s ${podman.man} $man
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
ln -s ${podman-unwrapped}/lib $out/lib
|
||||||
ln -s ${podman-unwrapped}/share $out/share
|
ln -s ${podman-unwrapped}/share $out/share
|
||||||
makeWrapper ${podman-unwrapped}/bin/podman $out/bin/podman \
|
makeWrapper ${podman-unwrapped}/bin/podman $out/bin/podman \
|
||||||
--prefix PATH : ${binPath}
|
--prefix PATH : ${binPath}
|
||||||
|
Loading…
Reference in New Issue
Block a user