mirror of
https://github.com/zaphar/sheetsui.git
synced 2025-07-21 20:39:47 -04:00
wip: nix build needs AppKit on mac now
This commit is contained in:
parent
25a782bfed
commit
475822a7dc
@ -26,7 +26,7 @@
|
|||||||
buildInputs =
|
buildInputs =
|
||||||
(
|
(
|
||||||
if pkgs.stdenv.isDarwin
|
if pkgs.stdenv.isDarwin
|
||||||
then with pkgs.darwin.apple_sdk.frameworks; [Security SystemConfiguration]
|
then with pkgs.darwin.apple_sdk.frameworks; [Security SystemConfiguration AppKit]
|
||||||
else [pkgs.openssl]
|
else [pkgs.openssl]
|
||||||
)
|
)
|
||||||
++ [my-rust-bin];
|
++ [my-rust-bin];
|
||||||
@ -37,7 +37,12 @@
|
|||||||
rust-bin = pkgs.rust-bin;
|
rust-bin = pkgs.rust-bin;
|
||||||
|
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs; [ gnumake my-rust-bin rust-analyzer cargo-tarpaulin ];
|
nativeBuildInputs = with pkgs; (
|
||||||
|
if pkgs.stdenv.isDarwin
|
||||||
|
then with pkgs.darwin.apple_sdk.frameworks; [Security SystemConfiguration AppKit]
|
||||||
|
else [pkgs.openssl]
|
||||||
|
)
|
||||||
|
++ [ gnumake my-rust-bin rust-analyzer cargo-tarpaulin ];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user