Skip to content

Commit

Permalink
Upgrade nix version
Browse files Browse the repository at this point in the history
  • Loading branch information
ismaelbouyaf committed Dec 17, 2020
1 parent 62b9189 commit d7db3db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"}

Expand Down Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d7db3db

Please sign in to comment.