Skip to content

Commit b8479e5

Browse files
committed
debug: where is nix; this makes no sense.
1 parent 0eec7ee commit b8479e5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docker/build/movement/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://install.determinate.systems/nix
1515
bash -s -- install linux \
1616
--extra-conf "sandbox = false" \
1717
--no-start-daemon \
18-
--no-confirm
18+
--no-confirm && exit 1
19+
# DEBUG: existing above to show output for nix path
1920

2021
# 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"
2223

2324
# Prove it works
2425
RUN nix run nixpkgs#hello

docker/build/mtma/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://install.determinate.systems/nix
1818
--no-confirm
1919

2020
# 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"
2222

2323
# Prove it works
2424
RUN nix run nixpkgs#hello

0 commit comments

Comments
 (0)