rtx: fix build on darwin

This commit is contained in:
Weijia Wang
2023-10-06 20:47:26 +02:00
parent 2f3eae38f5
commit 697fd9a8e7
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -10,6 +10,7 @@
, openssl
, direnv
, Security
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
@@ -26,7 +27,7 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-n/GxC5wDfhPboynFu8S1f9+kNDVmcKoSHaT96khyi2Q=";
nativeBuildInputs = [ installShellFiles pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
postPatch = ''
patchShebangs --build ./test/data/plugins/**/bin/* ./src/fake_asdf.rs ./src/cli/reshim.rs
+1 -1
View File
@@ -18452,7 +18452,7 @@ with pkgs;
asdf-vm = callPackage ../tools/misc/asdf-vm { };
rtx = callPackage ../tools/misc/rtx {
inherit (darwin.apple_sdk.frameworks) Security;
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
### DEVELOPMENT / TOOLS