28 lines
435 B
Nix
28 lines
435 B
Nix
# unpackPhase
|
|
# patchPhase
|
|
# configurePhase
|
|
# buildPhase
|
|
# checkPhase
|
|
# installPhase
|
|
# fixupPhase
|
|
# installCheckPhase
|
|
# distPhase
|
|
{
|
|
stdenv,
|
|
openssl,
|
|
...
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
name = "cni-conf";
|
|
nativeBuildInputs = [ openssl ];
|
|
buildInputs = [ ];
|
|
|
|
unpackPhase = "true";
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out"
|
|
cd "$out"
|
|
install ${./files/10-bridge.conf} ${./files/99-loopback.conf} $out/
|
|
'';
|
|
})
|