Skip to content

Commit 2420dca

Browse files
authored
Merge pull request #183 from DeterminateSystems/remove-apple-sdks
Remove Darwin frameworks from package build
2 parents fc0d03e + cfee2c9 commit 2420dca

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

flake.lock

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
inputs = {
3-
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2411.*";
3+
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0";
44

55
fenix = {
6-
url = "https://flakehub.com/f/nix-community/fenix/0.1.*";
6+
url = "https://flakehub.com/f/nix-community/fenix/0";
77
inputs.nixpkgs.follows = "nixpkgs";
88
};
99

1010
naersk = {
11-
url = "https://flakehub.com/f/nix-community/naersk/0.1.*";
11+
url = "https://flakehub.com/f/nix-community/naersk/0";
1212
inputs.nixpkgs.follows = "nixpkgs";
1313
};
1414
};
@@ -65,7 +65,6 @@
6565
name = "flake-checker";
6666
src = self;
6767
doCheck = true;
68-
buildInputs = with pkgs; [ ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Security SystemConfiguration ]);
6968
nativeBuildInputs = with pkgs; [ ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
7069
} // pkgs.lib.optionalAttrs pkgs.stdenv.isLinux {
7170
CARGO_BUILD_TARGET =
@@ -101,7 +100,7 @@
101100
};
102101
in
103102
pkgs.mkShell {
104-
packages = (with pkgs; [
103+
packages = with pkgs; [
105104
bashInteractive
106105

107106
# Rust
@@ -121,7 +120,7 @@
121120

122121
# Scripts
123122
get-ref-statuses
124-
]) ++ pkgs.lib.optionals pkgs.stdenv.isDarwin (with pkgs.darwin.apple_sdk.frameworks; [ Security SystemConfiguration ]);
123+
];
125124

126125
env = {
127126
# Required by rust-analyzer

0 commit comments

Comments
 (0)