nu_scripts: add updateScript
This commit is contained in:
parent
b4a1ffb17c
commit
a44e9d1ac5
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenvNoCC
|
, stdenvNoCC
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, unstableGitUpdater
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
@ -23,6 +24,8 @@ stdenvNoCC.mkDerivation rec {
|
|||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = unstableGitUpdater { };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A place to share Nushell scripts with each other";
|
description = "A place to share Nushell scripts with each other";
|
||||||
homepage = "https://github.com/nushell/nu_scripts";
|
homepage = "https://github.com/nushell/nu_scripts";
|
||||||
|
Loading…
Reference in New Issue
Block a user