We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22b2535 commit 8ac9021Copy full SHA for 8ac9021
dogfood/Dockerfile
@@ -322,7 +322,10 @@ USER coder
322
# Install Nix
323
RUN sh <(curl -L https://nixos.org/nix/install) --no-daemon
324
325
+# Install Nix into our bash profile so `nix-shell`, `nix-build, and `nix` are available
326
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
329
RUN mkdir -p /home/coder/.config/nixpkgs && echo '{ allowUnfree = true; }' >> /home/coder/.config/nixpkgs/config.nix
330
331
# Ensure go bins are in the 'coder' user's path. Note that no go bins are
0 commit comments