nb: add updateScript

This commit is contained in:
Kenichi Kamiya 2024-11-16 12:26:23 +09:00
parent 4de62b4c0f
commit 30610d3d1f
No known key found for this signature in database
GPG Key ID: 9BE4016A38165CCB

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, installShellFiles, testers, nb }:
{ stdenv, lib, fetchFromGitHub, installShellFiles, testers, nix-update-script, nb }:
stdenv.mkDerivation rec {
pname = "nb";
@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
# Setting EDITOR to avoid: "Command line text editor not found"
command = "EDITOR=nano nb --version";
};
updateScript = nix-update-script { };
};
meta = with lib; {