Skip to content

Commit eee0a7e

Browse files
committed
ci: remove lastModified thing
1 parent 73a10ef commit eee0a7e

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/update-subflake.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
nix store add-path --name source .
33

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

0 commit comments

Comments
 (0)