Skip to content

feat(dogfood): install nix package manager #5308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Jan 26, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
enable unfree and source in bashprofile
  • Loading branch information
ghuntley committed Dec 22, 2022
commit ee4f7b64c3c463cfcef8d15cf666995133574367
3 changes: 3 additions & 0 deletions dogfood/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ USER coder
# Install Nix
RUN sh <(curl -L https://nixos.org/nix/install) --no-daemon

RUN echo '. /home/coder/.nix-profile/etc/profile.d/nix.sh' >> /home/coder/.bashrc
RUN mkdir -p /home/coder/.config/nixpkgs && echo '{ allowUnfree = true; }' >> /home/coder/.config/nixpkgs/config.nix

# Ensure go bins are in the 'coder' user's path. Note that no go bins are
# installed in this docker file, as they'd be mounted over by the persistent
# home volume.
Expand Down