From: Ismaƫl Bouya Date: Thu, 17 Dec 2020 13:52:08 +0000 (+0100) Subject: Upgrade nix version X-Git-Tag: 2.3.9-channel-unstable-2021-10-14~3^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=d7db3dbcf09fe8940319777df11c956bb78dddd7;p=github%2Ffretlink%2Fdocker-nix.git Upgrade nix version --- diff --git a/alpine/Dockerfile b/alpine/Dockerfile index f6ea60c..db794af 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -2,7 +2,7 @@ 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"} @@ -32,8 +32,7 @@ SHELL ["/usr/bin/env", "bash", "-l", "-c"] # 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 diff --git a/debian/Dockerfile b/debian/Dockerfile index edc605c..632a741 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -2,7 +2,7 @@ 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"} @@ -32,8 +32,7 @@ SHELL ["/usr/bin/env", "bash", "-l", "-c"] # 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