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 { 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;