FROM alpine
ARG NIX_VERSION
-ENV NIX_VERSION ${NIX_VERSION:-2.3.4}
+ENV NIX_VERSION ${NIX_VERSION:-2.3.9}
ARG LANG
ENV LANG ${LANG:-"en_US.UTF-8"}
# Create bash profile
COPY --chown=nixuser:nixuser files/.profile ${HOME}/.profile
-RUN nix-channel --add https://nixos.org/channels/nixpkgs-19.09-darwin nixpkgs \
- && nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable \
+RUN nix-channel --add https://nixos.org/channels/nixos-unstable nixpkgs \
&& nix-channel --update
# Propagate UTF8
FROM debian:stable-slim
ARG NIX_VERSION
-ENV NIX_VERSION ${NIX_VERSION:-2.3.4}
+ENV NIX_VERSION ${NIX_VERSION:-2.3.9}
ARG LANG
ENV LANG ${LANG:-"en_US.UTF-8"}
# Create bash profile
COPY --chown=nixuser:nixuser files/.profile ${HOME}/.profile
-RUN nix-channel --add https://nixos.org/channels/nixpkgs-19.09-darwin nixpkgs \
- && nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable \
+RUN nix-channel --add https://nixos.org/channels/nixos-unstable nixpkgs \
&& nix-channel --update
# Propagate UTF8