diff options
author | Aidan Gauland <aidalgol@fastmail.net> | 2023-09-12 08:54:21 +1200 |
---|---|---|
committer | Yt <happysalada@tuta.io> | 2023-10-05 21:32:21 +0000 |
commit | 7f49fe88bba613853c285da190077cec1fe66880 (patch) | |
tree | 27793480437ddb70551ecf8def6a5d9a124b0a72 /pkgs | |
parent | f66847bb3758408908ba87a1d8763baed61a623f (diff) |
nushellPlugins: inherit version from nushell
These are inheriting nushell.src, but specify the version string separately. Either both or neither should be inherited.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/shells/nushell/plugins/formats.nix | 5 | ||||
-rw-r--r-- | pkgs/shells/nushell/plugins/gstat.nix | 5 | ||||
-rw-r--r-- | pkgs/shells/nushell/plugins/query.nix | 5 |
3 files changed, 5 insertions, 10 deletions
diff --git a/pkgs/shells/nushell/plugins/formats.nix b/pkgs/shells/nushell/plugins/formats.nix index 974121f88e2ea..4adc936a8a803 100644 --- a/pkgs/shells/nushell/plugins/formats.nix +++ b/pkgs/shells/nushell/plugins/formats.nix @@ -7,10 +7,9 @@ , Foundation }: -rustPlatform.buildRustPackage { +rustPlatform.buildRustPackage rec { pname = "nushell_plugin_formats"; - version = "0.85.0"; - src = nushell.src; + inherit (nushell) version src; cargoHash = "sha256-WS8VRpJnn/VWS7GUkGowFf51ifUx0SbEZzcoTfx2dp0="; nativeBuildInputs = [ pkg-config ]; buildInputs = lib.optionals stdenv.isDarwin [ IOKit Foundation ]; diff --git a/pkgs/shells/nushell/plugins/gstat.nix b/pkgs/shells/nushell/plugins/gstat.nix index d78642b41554b..746a3669b0f2a 100644 --- a/pkgs/shells/nushell/plugins/gstat.nix +++ b/pkgs/shells/nushell/plugins/gstat.nix @@ -7,10 +7,9 @@ , Security }: -rustPlatform.buildRustPackage { +rustPlatform.buildRustPackage rec { pname = "nushell_plugin_gstat"; - version = "0.85.0"; - src = nushell.src; + inherit (nushell) version src; cargoHash = "sha256-6luY3SIRRd9vaY9KIJcj8Q974FW0LtAvRjVpdpzkdLo="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; diff --git a/pkgs/shells/nushell/plugins/query.nix b/pkgs/shells/nushell/plugins/query.nix index cc7106ae1c897..a9526dfefd22e 100644 --- a/pkgs/shells/nushell/plugins/query.nix +++ b/pkgs/shells/nushell/plugins/query.nix @@ -9,10 +9,7 @@ rustPlatform.buildRustPackage { pname = "nushell_plugin_query"; - version = "0.85.0"; - - src = nushell.src; - + inherit (nushell) version src; cargoHash = "sha256-xyty3GfI+zNkuHs7LYHBctqXUHZ4/MNNcnnfYvI18do="; buildInputs = lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ]; |