Merge pull request #194312 from jmesmon/f3-darwin
f3: fix build on darwin
This commit is contained in:
commit
8a1448c9f7
1 changed files with 3 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, lib, fetchFromGitHub
|
{ stdenv, lib, fetchFromGitHub
|
||||||
, parted, systemd ? null
|
, parted, systemd, argp-standalone
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -22,10 +22,8 @@ stdenv.mkDerivation rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = lib.optional stdenv.isLinux [ systemd parted ]
|
||||||
parted
|
++ lib.optional stdenv.isDarwin [ argp-standalone ];
|
||||||
]
|
|
||||||
++ lib.optional stdenv.isLinux systemd;
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue