fac-build: fix darwin build
This commit is contained in:
parent
f5054121cb
commit
9ec6f8fc9b
|
@ -1,4 +1,4 @@
|
|||
{ lib, rustPlatform, fetchCrate, git }:
|
||||
{ lib, stdenv, rustPlatform, fetchCrate, git, CoreServices }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "fac-build";
|
||||
|
@ -10,6 +10,8 @@ rustPlatform.buildRustPackage rec {
|
|||
sha256 = "sha256-+JJVuKUdnjJoQJ4a2EE0O6jZdVoFxPwbPgfD2LfiDPI=";
|
||||
};
|
||||
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
cargoSha256 = "sha256-XT4FQVE+buORuZAFZK5Qnf/Fl3QSvw4SHUuCzWhxUdk=";
|
||||
|
||||
# fac includes a unit test called ls_files_works which assumes it's
|
||||
|
@ -40,7 +42,7 @@ rustPlatform.buildRustPackage rec {
|
|||
'';
|
||||
homepage = "https://physics.oregonstate.edu/~roundyd/fac";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ dpercy ];
|
||||
mainProgram = "fac";
|
||||
};
|
||||
|
|
|
@ -34999,7 +34999,9 @@ with pkgs;
|
|||
|
||||
unifi-poller = callPackage ../servers/monitoring/unifi-poller {};
|
||||
|
||||
fac-build = callPackage ../development/tools/build-managers/fac {};
|
||||
fac-build = callPackage ../development/tools/build-managers/fac {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
treefmt = callPackage ../development/tools/treefmt { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue