nushellPlugins.regex: fix darwin build

This commit is contained in:
happysalada 2023-10-28 07:29:09 +01:00 committed by Yt
parent 1b3b4528d1
commit 16920f9fe9
2 changed files with 6 additions and 2 deletions

View file

@ -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; };
})

View file

@ -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 { };
};