mdadm: install systemd units
This commit is contained in:
parent
b458121105
commit
b9b27912ce
@ -12,12 +12,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"NIXOS=1" "INSTALL=install" "BINDIR=$(out)/sbin"
|
"NIXOS=1" "INSTALL=install" "BINDIR=$(out)/sbin"
|
||||||
|
"SYSTEMD_DIR=$(out)/lib/systemd/system"
|
||||||
"MANDIR=$(out)/share/man" "RUN_DIR=/dev/.mdadm"
|
"MANDIR=$(out)/share/man" "RUN_DIR=/dev/.mdadm"
|
||||||
"STRIP="
|
"STRIP="
|
||||||
] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||||
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
installFlags = [ "install-systemd" ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ groff ];
|
nativeBuildInputs = [ groff ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user