diff --git a/.github/workflows/update-subflake.sh b/.github/workflows/update-subflake.sh index 38b6e4aa..544264eb 100755 --- a/.github/workflows/update-subflake.sh +++ b/.github/workflows/update-subflake.sh @@ -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 ...