mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
nushellPlugins.regex: fix darwin build
This commit is contained in:
parent
1b3b4528d1
commit
16920f9fe9
|
@ -4,6 +4,6 @@ lib.makeScope newScope (self: with self; {
|
|||
gstat = callPackage ./gstat.nix { inherit Security; };
|
||||
formats = callPackage ./formats.nix { inherit IOKit Foundation; };
|
||||
query = callPackage ./query.nix { inherit IOKit CoreFoundation; };
|
||||
regex = callPackage ./regex.nix { };
|
||||
regex = callPackage ./regex.nix { inherit IOKit; };
|
||||
net = callPackage ./net.nix { inherit IOKit CoreFoundation; };
|
||||
})
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{ lib
|
||||
{ stdenv
|
||||
, lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
, IOKit
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
|
@ -17,6 +19,8 @@ rustPlatform.buildRustPackage {
|
|||
|
||||
cargoHash = "sha256-AACpzSavY6MlYnl1lDYxVlfsEvEpNK0u8SzsoSZbqFc=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ IOKit ];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue