Skip to content

Commit

Permalink
ci: remove lastModified thing
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Oct 25, 2024
1 parent 73a10ef commit eee0a7e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/update-subflake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
nix store add-path --name source .

# update the subflake lockfile to the (now existing) store path
# set lastModified to 1 because unknown issues in the GH action environment
(cd ./src/local && nix flake lock --update-input std && (
jq '.nodes.std.locked.lastModified = 1' flake.lock > flake.lock.new && rm flake.lock && mv flake.lock.new flake.lock
) && git add -f flake.lock)
(cd ./src/tests && nix flake lock --update-input std && (
jq '.nodes.std.locked.lastModified = 1' flake.lock > flake.lock.new && rm flake.lock && mv flake.lock.new flake.lock
) &&git add -f flake.lock)
(cd ./src/local && nix flake lock --update-input std && git add -f flake.lock)
(cd ./src/tests && nix flake lock --update-input std && git add -f flake.lock)
# continue normally ...

0 comments on commit eee0a7e

Please sign in to comment.