File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://install.determinate.systems/nix
15
15
bash -s -- install linux \
16
16
--extra-conf "sandbox = false" \
17
17
--no-start-daemon \
18
- --no-confirm
18
+ --no-confirm && exit 1
19
+ # DEBUG: existing above to show output for nix path
19
20
20
21
# Set up proper Nix PATH for non-root user
21
- ENV PATH="/home/builder/.nix-profile/bin :/nix/var/nix/profiles/default/bin:$PATH "
22
+ ENV PATH="${PATH} :/nix/var/nix/profiles/default/bin"
22
23
23
24
# Prove it works
24
25
RUN nix run nixpkgs#hello
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://install.determinate.systems/nix
18
18
--no-confirm
19
19
20
20
# Set up proper Nix PATH for non-root user
21
- ENV PATH="/home/builder/.nix-profile/bin :/nix/var/nix/profiles/default/bin:$PATH "
21
+ ENV PATH="${PATH} :/nix/var/nix/profiles/default/bin"
22
22
23
23
# Prove it works
24
24
RUN nix run nixpkgs#hello
You can’t perform that action at this time.
0 commit comments