Skip to content

Commit 4d270f7

Browse files
committed
add comments
1 parent 3a088e1 commit 4d270f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dogfood/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,10 @@ USER coder
322322
# Install Nix
323323
RUN sh <(curl -L https://nixos.org/nix/install) --no-daemon
324324

325+
# Install Nix into our bash profile so `nix-shell`, `nix-build, and `nix` are available
325326
RUN echo '. /home/coder/.nix-profile/etc/profile.d/nix.sh' >> /home/coder/.bashrc
327+
328+
# Enable installation of unfree software - https://nixos.wiki/wiki/FAQ/How_can_I_install_a_proprietary_or_unfree_package
326329
RUN mkdir -p /home/coder/.config/nixpkgs && echo '{ allowUnfree = true; }' >> /home/coder/.config/nixpkgs/config.nix
327330

328331
# Ensure go bins are in the 'coder' user's path. Note that no go bins are

0 commit comments

Comments
 (0)