8 , runc # Default container runtime
9 , crun # Container runtime (default with cgroups v2 for podman/buildah)
10 , conmon # Container runtime monitor
11 , slirp4netns # User-mode networking for unprivileged namespaces
12 , fuse-overlayfs # CoW for images, much faster than default vfs
13 , util-linux # nsenter
18 buildah = buildah-unwrapped;
20 preferLocalBuild = true;
22 binPath = lib.makeBinPath ([
23 ] ++ lib.optionals stdenv.isLinux [
33 in runCommand buildah.name {
34 name = "${buildah.pname}-wrapper-${buildah.version}";
35 inherit (buildah) pname version;
37 meta = builtins.removeAttrs buildah.meta [ "outputsToInstall" ];
49 ln -s ${buildah.man} $man
52 ln -s ${buildah-unwrapped}/share $out/share
53 makeWrapper ${buildah-unwrapped}/bin/buildah $out/bin/buildah \
54 --prefix PATH : ${binPath}