Skip to content
Open
Changes from all commits
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
6 changes: 3 additions & 3 deletions Dockerfile-Base
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN chown -R $nixuser:$nixuser $ENVSDIR $HOME

USER $nixuser

RUN wget -O- http://nixos.org/releases/nix/nix-2.3.6/nix-2.3.6-x86_64-linux.tar.xz | tar xvfJ - \
RUN wget -O- https://releases.nixos.org/nix/nix-2.3.12/nix-2.3.12-x86_64-linux.tar.xz | tar xvfJ - \
&& USER=$nixuser HOME=$ENVSDIR sh nix-*-x86_64-linux/install \
&& ln -s /nix/var/nix/profiles/per-user/$nixuser/profile $HOME/.nix-profile

Expand All @@ -51,8 +51,8 @@ ENV \

ENV nixenv ". $ENVSDIR/.nix-profile/etc/profile.d/nix.sh"

RUN $nixenv && nix-channel --add https://nixos.org/channels/nixpkgs-20.03-darwin nixpkgs && \
nix-channel --add https://nixos.org/channels/nixos-20.03 nixos
RUN $nixenv && nix-channel --add https://nixos.org/channels/nixpkgs-21.05-darwin nixpkgs && \
nix-channel --add https://nixos.org/channels/nixos-21.05 nixos

RUN $nixenv && nix-channel --update

Expand Down