parent
d5db4c4e88
commit
018a5aee9e
4 changed files with 37 additions and 33 deletions
packages/some-sass-language-server
|
@ -3,6 +3,7 @@
|
|||
lib,
|
||||
buildNpmPackage,
|
||||
makeWrapper,
|
||||
nix-update-script,
|
||||
writeShellApplication,
|
||||
# update script deps
|
||||
nodejs_latest,
|
||||
|
@ -32,15 +33,23 @@ in
|
|||
|
||||
npmDepsHash = "sha256-BRo71A07BhrioiBFisCR01OrVFTIagVTIClZ2Tpjidk=";
|
||||
|
||||
passthru.update = writeShellApplication {
|
||||
name = "update";
|
||||
runtimeInputs = [
|
||||
nodejs_latest
|
||||
prefetch-npm-deps
|
||||
jq
|
||||
];
|
||||
text = import ./update.nix;
|
||||
};
|
||||
passthru.updateScript = let
|
||||
script = writeShellApplication {
|
||||
name = "update";
|
||||
runtimeInputs = [
|
||||
nodejs_latest
|
||||
prefetch-npm-deps
|
||||
jq
|
||||
];
|
||||
text = import ./update.nix;
|
||||
};
|
||||
in
|
||||
nix-update-script {
|
||||
extraArgs = [
|
||||
"--version=skip"
|
||||
"; ${script}"
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
mainProgram = pname;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue