fix(update): use my fork of nix-update to run scripts

This commit is contained in:
matt1432 2025-02-17 16:47:32 -05:00
parent 9e2fb19146
commit 849ab8ad6c
5 changed files with 34 additions and 36 deletions
packages/some-sass-language-server

View file

@ -3,7 +3,6 @@
lib,
buildNpmPackage,
makeWrapper,
nix-update-script,
writeShellApplication,
# update script deps
nodejs_latest,
@ -33,23 +32,15 @@ in
npmDepsHash = "sha256-BRo71A07BhrioiBFisCR01OrVFTIagVTIClZ2Tpjidk=";
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}"
];
};
passthru.updateScript = writeShellApplication {
name = "update";
runtimeInputs = [
nodejs_latest
prefetch-npm-deps
jq
];
text = import ./update.nix;
};
meta = {
mainProgram = pname;