nushell: Add updater script

This commit is contained in:
Aidan Gauland 2022-12-24 14:44:23 +13:00
parent fde05a82c4
commit 47e3a91333
No known key found for this signature in database
GPG key ID: 16E68DD2D0E77C91

View file

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