diff options
author | Aidan Gauland <aidalgol@fastmail.net> | 2022-12-24 14:44:23 +1300 |
---|---|---|
committer | Aidan Gauland <aidalgol@fastmail.net> | 2022-12-24 14:45:56 +1300 |
commit | 47e3a9133326f81deb04b1bc101aaa68ed1879c7 (patch) | |
tree | 1091ca9ab8423d1507987f5500b13e990dde9f8b /pkgs/shells/nushell | |
parent | fde05a82c46f0bede5ebfe6517f0eee6d2e0439e (diff) |
nushell: Add updater script
Diffstat (limited to 'pkgs/shells/nushell')
-rw-r--r-- | pkgs/shells/nushell/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix index 11c9aa67a2e24..b64c7a93da132 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; + }; }; } |