mirror of
https://github.com/Novattz/creamlinux-installer.git
synced 2026-05-13 01:52:44 -04:00
4 lines
196 B
Bash
Executable File
4 lines
196 B
Bash
Executable File
#!/usr/bin/env bash
|
|
hash=$(nix-shell -p prefetch-npm-deps --run "prefetch-npm-deps package-lock.json" 2>/dev/null)
|
|
echo "New hash: $hash"
|
|
sed -i "s|hash = \"[^\"]*\"|hash = \"$hash\"|" package.nix |