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