Skip to content

Commit b74638e

Browse files
committed
flake: remove old Darwin SDK pattern detritus
None of this is required or does anything as of 24.11.
1 parent fc045e9 commit b74638e

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

flake.nix

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
optionalPathToDeterminateNixd = system: if builtins.elem system systemsSupportedByDeterminateNixd then "${inputs.determinate.packages.${system}.default}/bin/determinate-nixd" else null;
5555

56-
installerPackage = { lib, pkgs, stdenv, buildPackages, darwin }:
56+
installerPackage = { pkgs, stdenv, buildPackages }:
5757
let
5858
craneLib = crane.mkLib pkgs;
5959
sharedAttrs = {
@@ -66,12 +66,6 @@
6666
# Required to link build scripts.
6767
pkgsBuildBuild = [ buildPackages.stdenv.cc ];
6868

69-
nativeBuildInputs = [ ];
70-
buildInputs = [ ] ++ lib.optionals (stdenv.isDarwin) (with darwin.apple_sdk.frameworks; [
71-
SystemConfiguration
72-
darwin.libiconv
73-
]);
74-
7569
env = {
7670
# For whatever reason, these don’t seem to get set
7771
# automatically when using crane.
@@ -139,11 +133,6 @@
139133
check.check-clippy
140134
editorconfig-checker
141135
]
142-
++ lib.optionals (pkgs.stdenv.isDarwin) (with pkgs; [
143-
libiconv
144-
darwin.apple_sdk.frameworks.Security
145-
darwin.apple_sdk.frameworks.SystemConfiguration
146-
])
147136
++ lib.optionals (pkgs.stdenv.isLinux) (with pkgs; [
148137
checkpolicy
149138
semodule-utils

0 commit comments

Comments
 (0)