3
0
Fork 0
forked from mirrors/nixpkgs

mdadm: install systemd units

This commit is contained in:
Nikolay Amiantov 2019-07-25 16:36:05 +03:00
parent b458121105
commit b9b27912ce

View file

@ -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 ];