summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan Gauland <aidalgol@fastmail.net>2022-12-24 14:44:23 +1300
committerAidan Gauland <aidalgol@fastmail.net>2022-12-24 14:45:56 +1300
commit47e3a9133326f81deb04b1bc101aaa68ed1879c7 (patch)
tree1091ca9ab8423d1507987f5500b13e990dde9f8b
parentfde05a82c46f0bede5ebfe6517f0eee6d2e0439e (diff)
nushell: Add updater script
-rw-r--r--pkgs/shells/nushell/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix
index 11c9aa67a2e2..b64c7a93da13 100644
--- a/pkgs/shells/nushell/default.nix
+++ b/pkgs/shells/nushell/default.nix
@@ -21,6 +21,7 @@
, withExtraFeatures ? true
, testers
, nushell
+, nix-update-script
}:
rustPlatform.buildRustPackage rec {
@@ -99,5 +100,8 @@ rustPlatform.buildRustPackage rec {
tests.version = testers.testVersion {
package = nushell;
};
+ updateScript = nix-update-script {
+ attrPath = pname;
+ };
};
}