rtx: fix build on darwin
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user