Merge pull request #194312 from jmesmon/f3-darwin

f3: fix build on darwin
This commit is contained in:
Christian Kögler 2022-10-17 08:12:12 +02:00 committed by GitHub
commit 8a1448c9f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub
, parted, systemd ? null
, parted, systemd, argp-standalone
}:
stdenv.mkDerivation rec {
@ -22,10 +22,8 @@ stdenv.mkDerivation rec {
done
'';
buildInputs = [
parted
]
++ lib.optional stdenv.isLinux systemd;
buildInputs = lib.optional stdenv.isLinux [ systemd parted ]
++ lib.optional stdenv.isDarwin [ argp-standalone ];
enableParallelBuilding = true;