wranger: remove darwin from inputs
This commit is contained in:
parent
ccfef0d23a
commit
cca48ed2d0
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, curl, darwin, perl }:
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, curl, Security, CoreServices, CoreFoundation, perl }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wrangler";
|
pname = "wrangler";
|
||||||
@ -13,15 +13,11 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "0w845virvw7mvibc76ar2hbffhfzj2v8v1xkrsssrgzyaryb48jk";
|
cargoSha256 = "0w845virvw7mvibc76ar2hbffhfzj2v8v1xkrsssrgzyaryb48jk";
|
||||||
|
|
||||||
nativeBuildInputs = [ perl ] ++ lib.optionals stdenv.isLinux [ pkg-config ];
|
nativeBuildInputs = [ perl ]
|
||||||
|
++ lib.optionals stdenv.isLinux [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
|
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
|
||||||
++ lib.optionals stdenv.isDarwin [
|
++ lib.optionals stdenv.isDarwin [ curl CoreFoundation CoreServices Security ];
|
||||||
curl
|
|
||||||
darwin.apple_sdk.frameworks.Security
|
|
||||||
darwin.apple_sdk.frameworks.CoreServices
|
|
||||||
darwin.apple_sdk.frameworks.CoreFoundation
|
|
||||||
];
|
|
||||||
|
|
||||||
# tries to use "/homeless-shelter" and fails
|
# tries to use "/homeless-shelter" and fails
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -3942,7 +3942,9 @@ in
|
|||||||
|
|
||||||
wallutils = callPackage ../tools/graphics/wallutils { };
|
wallutils = callPackage ../tools/graphics/wallutils { };
|
||||||
|
|
||||||
wrangler = callPackage ../development/tools/wrangler { };
|
wrangler = callPackage ../development/tools/wrangler {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Security;
|
||||||
|
};
|
||||||
|
|
||||||
wsl-open = callPackage ../tools/misc/wsl-open { };
|
wsl-open = callPackage ../tools/misc/wsl-open { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user