From 48ae3d24bc07d1079c2c78936b54d40a89f80cd4 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Mon, 11 Sep 2023 21:58:11 +1200 Subject: [PATCH] nushellPlugins: remove unnecessary let bindings --- pkgs/shells/nushell/plugins/formats.nix | 5 +---- pkgs/shells/nushell/plugins/gstat.nix | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/shells/nushell/plugins/formats.nix b/pkgs/shells/nushell/plugins/formats.nix index f55c8c5eae2a..dac2e4b14381 100644 --- a/pkgs/shells/nushell/plugins/formats.nix +++ b/pkgs/shells/nushell/plugins/formats.nix @@ -7,11 +7,8 @@ , Foundation }: -let - pname = "nushell_plugin_formats"; -in rustPlatform.buildRustPackage { - inherit pname; + pname = "nushell_plugin_formats"; version = "0.85.0"; src = nushell.src; cargoHash = "sha256-WS8VRpJnn/VWS7GUkGowFf51ifUx0SbEZzcoTfx2dp0="; diff --git a/pkgs/shells/nushell/plugins/gstat.nix b/pkgs/shells/nushell/plugins/gstat.nix index 589eda96b069..91730af6596b 100644 --- a/pkgs/shells/nushell/plugins/gstat.nix +++ b/pkgs/shells/nushell/plugins/gstat.nix @@ -7,11 +7,8 @@ , Security }: -let - pname = "nushell_plugin_gstat"; -in rustPlatform.buildRustPackage { - inherit pname; + pname = "nushell_plugin_gstat"; version = "0.85.0"; src = nushell.src; cargoHash = "sha256-6luY3SIRRd9vaY9KIJcj8Q974FW0LtAvRjVpdpzkdLo=";