diff options
Diffstat (limited to 'nixpkgs/pkgs/by-name/gr/graphite-cli/update.sh')
-rwxr-xr-x | nixpkgs/pkgs/by-name/gr/graphite-cli/update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/by-name/gr/graphite-cli/update.sh b/nixpkgs/pkgs/by-name/gr/graphite-cli/update.sh index 2940714e37bf..2f89e6fcd18b 100755 --- a/nixpkgs/pkgs/by-name/gr/graphite-cli/update.sh +++ b/nixpkgs/pkgs/by-name/gr/graphite-cli/update.sh @@ -22,7 +22,7 @@ sed -i 's#hash = "[^"]*"#hash = "'"$src_hash"'"#' package.nix rm -f package-lock.json package.json *.tgz wget "$url" tar xf "$tarball" --strip-components=1 package/package.json -npm i --package-lock-only +npm i --package-lock-only --ignore-scripts npm_hash=$(prefetch-npm-deps package-lock.json) sed -i 's#npmDepsHash = "[^"]*"#npmDepsHash = "'"$npm_hash"'"#' package.nix rm -f package.json *.tgz |