Skip to content

Commit 3dca8ed

Browse files
Pegasustblaggacao
authored andcommitted
fix(namaka): snapshots can change or be generated within std
1 parent 66ae24b commit 3dca8ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/std/fwlib/blockTypes/namaka.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ in
2020
subdir = target.snap-dir or "";
2121
in [
2222
(mkCommand currentSystem "eval" "use transparently with namaka cli" [] ''
23-
nix eval '.#${fragment}.check'
23+
nix eval '.#${fragment}'
2424
'' {})
2525
(mkCommand currentSystem "check" "run namaka tests against snapshots" [pkg] ''
26-
namaka ${subdir} check -c nix eval '.#${fragment}.check'
26+
namaka ${subdir} check -c nix eval '.#${fragment}'
2727
'' {})
2828
(mkCommand currentSystem "review" "review pending namaka checks" [pkg] ''
29-
namaka ${subdir} review -c nix eval '.#${fragment}.check'
29+
namaka ${subdir} review -c nix eval '.#${fragment}'
3030
'' {})
3131
(mkCommand currentSystem "clean" "clean up pending namaka checks" [pkg] ''
32-
namaka ${subdir} clean -c nix eval '.#${fragment}.check'
32+
namaka ${subdir} clean -c nix eval '.#${fragment}'
3333
'' {})
3434
];
3535
}

0 commit comments

Comments
 (0)