summary refs log tree commit diff
diff options
context:
space:
mode:
authorTomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>2024-08-18 18:59:09 +0200
committerTomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>2024-08-18 18:59:09 +0200
commite2d3cff264585270ad9b0fb4e425c00a6006edf1 (patch)
tree00f2564c7704edd57bfa905f54bf8d8ec4915bc1
parentMerge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server int... (diff)
downloadserver-ts-e2d3cff264585270ad9b0fb4e425c00a6006edf1.tar.xz
update nix cache/deps/flake
-rw-r--r--flake.lock6
-rw-r--r--hashes.json2
-rwxr-xr-xnix-update.sh4
3 files changed, 6 insertions, 6 deletions
diff --git a/flake.lock b/flake.lock

index 29505fc36..42952374c 100644 --- a/flake.lock +++ b/flake.lock
@@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1723362943, - "narHash": "sha256-dFZRVSgmJkyM0bkPpaYRtG/kRMRTorUIDj8BxoOt1T4=", + "lastModified": 1723637854, + "narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a58bc8ad779655e790115244571758e8de055e3d", + "rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9", "type": "github" }, "original": { diff --git a/hashes.json b/hashes.json
index bc1807d4c..2f3e1cfb1 100644 --- a/hashes.json +++ b/hashes.json
@@ -1,3 +1,3 @@ { - "npmDepsHash": "sha256-kdS1SwcBu6Dor92iO1ickLgz0T5UL16nyA49xXGajf4=" + "npmDepsHash": "sha256-q1Q7rpSzfiRvrkoDPER9wjBOzZ5Bn5B+d41MFssM7nU=" } diff --git a/nix-update.sh b/nix-update.sh
index a676e2945..05d6d3d75 100755 --- a/nix-update.sh +++ b/nix-update.sh
@@ -1,10 +1,10 @@ #!/usr/bin/env nix-shell #!nix-shell -i "bash -x" -p bash prefetch-npm-deps jq git nix-output-monitor -nix flake update +nix flake update --extra-experimental-features 'nix-command flakes' DEPS_HASH=`prefetch-npm-deps package-lock.json` TMPFILE=$(mktemp) jq '.npmDepsHash = "'$DEPS_HASH'"' hashes.json > $TMPFILE mv -- "$TMPFILE" hashes.json -nom build .# || exit $? +nom build .# --extra-experimental-features 'nix-command flakes' || exit $? git add hashes.json flake.lock flake.nix