File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ source ./common.sh
4
+
5
+ requireGit
6
+
7
+ flakeDir=" $TEST_ROOT /flake"
8
+ createGitRepo " $flakeDir "
9
+
10
+ cat > " $flakeDir /flake.nix" << EOF
11
+ {
12
+ inputs = {
13
+ };
14
+
15
+ outputs =
16
+ _:
17
+ let
18
+ in
19
+ {
20
+ packages.$system .default = throw "oh no";
21
+ };
22
+ }
23
+ EOF
24
+
25
+ git -C " $flakeDir " add flake.nix
26
+
27
+ # regression #12527 and #11286
28
+ echo " :env" | expect 1 nix eval " $flakeDir #packages.${system} .default" --debugger
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ suites += {
28
28
' commit-lock-file-summary.sh' ,
29
29
' non-flake-inputs.sh' ,
30
30
' relative-paths.sh' ,
31
- ' symlink-paths.sh'
31
+ ' symlink-paths.sh' ,
32
+ ' debugger.sh'
32
33
],
33
34
' workdir' : meson .current_source_dir(),
34
35
}
You can’t perform that action at this time.
0 commit comments