]> git.immae.eu Git - github/fretlink/docker-nix.git/commitdiff
fix: pin unstable nixpkgs to latest stable release (18.09) 4/head
authorHussein Ait-Lahcen <hussein.ait-lahcen@fretlink.com>
Mon, 5 Nov 2018 09:15:20 +0000 (10:15 +0100)
committerHussein Ait-Lahcen <hussein.ait-lahcen@fretlink.com>
Mon, 5 Nov 2018 09:15:20 +0000 (10:15 +0100)
alpine/Dockerfile
debian/Dockerfile

index 5aa7fcc39d5726251bec1e5c97029e2f87cb1449..1bf3a3b52ceec6fe4f19cc9893623ae504f8622a 100644 (file)
@@ -27,8 +27,8 @@ RUN echo ". ${ENV}" >> ${HOME}/.profile
 # All subsequent "RUN" will use a login shell
 SHELL ["/usr/bin/env", "bash", "-l", "-c"]
 
-RUN nix-channel --add https://nixos.org/channels/nixpkgs-unstable \
-    && nix-channel --update
+RUN nix-channel --add https://nixos.org/channels/nixpkgs-18.09-darwin nixpkgs \
+  && nix-channel --update
 
 # Propagate UTF8
 # https://github.com/NixOS/nix/issues/599#issuecomment-153885553
index 6c09f82bd5bec3be1f0cc2a4e0bcc4d9424992f5..70e36fcbe4506696588330b82573368cfcda1af8 100644 (file)
@@ -27,8 +27,8 @@ RUN echo ". ${ENV}" >> ${HOME}/.profile
 # All subsequent "RUN" will use a login shell
 SHELL ["/usr/bin/env", "bash", "-l", "-c"]
 
-RUN nix-channel --add https://nixos.org/channels/nixpkgs-unstable \
-    && nix-channel --update
+RUN nix-channel --add https://nixos.org/channels/nixpkgs-18.09-darwin nixpkgs \
+  && nix-channel --update
 
 # Propagate UTF8
 # https://github.com/NixOS/nix/issues/599#issuecomment-153885553