Skip to content

Commit 7058532

Browse files
committed
fix: nativeBuildInputs confusion
1 parent 84778c3 commit 7058532

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

flake.nix

+7-6
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,18 @@
5353
pkgsStatic.openssl
5454
]
5555
else [openssl]
56-
)
56+
);
57+
58+
nativeBuildInputs = pkgs:
59+
with pkgs;
60+
[
61+
pkgsBuildTarget.pkg-config
62+
]
5763
++ lib.optionals stdenv.isDarwin
5864
(with darwin.apple_sdk.frameworks; [
5965
CoreServices
6066
]);
6167

62-
nativeBuildInputs = pkgs:
63-
with pkgs; [
64-
pkgsBuildTarget.pkg-config
65-
];
66-
6768
buildSrc = flakeboxLib.filterSubPaths {
6869
root = builtins.path {
6970
name = project_name;

0 commit comments

Comments
 (0)