Skip to content

Commit 2e3db30

Browse files
committed
enable unfree and source in bashprofile
1 parent e470021 commit 2e3db30

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,6 +322,9 @@ USER coder
322322
# Install Nix
323323
RUN sh <(curl -L https://nixos.org/nix/install) --no-daemon
324324

325+
RUN echo '. /home/coder/.nix-profile/etc/profile.d/nix.sh' >> /home/coder/.bashrc
326+
RUN mkdir -p /home/coder/.config/nixpkgs && echo '{ allowUnfree = true; }' >> /home/coder/.config/nixpkgs/config.nix
327+
325328
# Ensure go bins are in the 'coder' user's path. Note that no go bins are
326329
# installed in this docker file, as they'd be mounted over by the persistent
327330
# home volume.

0 commit comments

Comments
 (0)