fix(nix) missing frameworks on darwin (#1724)
This commit is contained in:
parent
9135eceac1
commit
55cd26b278
2 changed files with 14 additions and 1 deletions
|
|
@ -13,6 +13,10 @@
|
||||||
(import "${crate2nix}/tools.nix" {inherit pkgs;})
|
(import "${crate2nix}/tools.nix" {inherit pkgs;})
|
||||||
generatedCargoNix
|
generatedCargoNix
|
||||||
;
|
;
|
||||||
|
darwinBuildInputs = pkgs.lib.optionals pkgs.stdenv.isDarwin [
|
||||||
|
pkgs.darwin.apple_sdk.frameworks.DiskArbitration
|
||||||
|
pkgs.darwin.apple_sdk.frameworks.Foundation
|
||||||
|
];
|
||||||
|
|
||||||
project =
|
project =
|
||||||
import
|
import
|
||||||
|
|
@ -29,6 +33,10 @@
|
||||||
# Crate dependency overrides go here
|
# Crate dependency overrides go here
|
||||||
zellij = attrs: {
|
zellij = attrs: {
|
||||||
inherit postInstall desktopItems meta name nativeBuildInputs patchPhase;
|
inherit postInstall desktopItems meta name nativeBuildInputs patchPhase;
|
||||||
|
buildInputs = darwinBuildInputs;
|
||||||
|
};
|
||||||
|
sysinfo = attrs: {
|
||||||
|
buildInputs = darwinBuildInputs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,12 @@ flake-utils.lib.eachSystem [
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
# in order to run tests
|
# in order to run tests
|
||||||
pkgs.openssl
|
pkgs.openssl
|
||||||
];
|
] ++ (
|
||||||
|
pkgs.lib.optionals pkgs.stdenv.isDarwin [
|
||||||
|
pkgs.darwin.apple_sdk.frameworks.DiskArbitration
|
||||||
|
pkgs.darwin.apple_sdk.frameworks.Foundation
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
# for openssl/openssl-sys
|
# for openssl/openssl-sys
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue