Skip to content

Commit

Permalink
Fix nix-update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
TheArcaneBrony committed Aug 14, 2024
1 parent fd8196b commit 35dde2e
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 62 deletions.
118 changes: 59 additions & 59 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions hashes.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"npmDepsHash": "sha256-fZNDN2/fNy6Nu7tbr0RhQ8j4BP7X1Yhrh/fSTH7hbJc="
}
"npmDepsHash": "sha256-kdS1SwcBu6Dor92iO1ickLgz0T5UL16nyA49xXGajf4="
}
2 changes: 1 addition & 1 deletion nix-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
nix flake update
DEPS_HASH=`prefetch-npm-deps package-lock.json`
TMPFILE=$(mktemp)
jq '.npm_deps_hash = "'$DEPS_HASH'"' hashes.json > $TMPFILE
jq '.npmDepsHash = "'$DEPS_HASH'"' hashes.json > $TMPFILE
mv -- "$TMPFILE" hashes.json

nom build .# || exit $?
Expand Down

0 comments on commit 35dde2e

Please sign in to comment.