aboutsummaryrefslogtreecommitdiff
path: root/nix_path_env
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-14 23:05:17 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-14 23:05:17 +0200
commitbf74850963eeba3efc755bb517aba0197df80493 (patch)
treee697b7cd31b11f466aef65eb097eeccc3e4a8629 /nix_path_env
parent71daa0766ee1eaab78e77f007ee1a5494b5132ab (diff)
downloadNix-bf74850963eeba3efc755bb517aba0197df80493.tar.gz
Nix-bf74850963eeba3efc755bb517aba0197df80493.tar.zst
Nix-bf74850963eeba3efc755bb517aba0197df80493.zip
Upgrade nixpkgs for env
Diffstat (limited to 'nix_path_env')
-rw-r--r--nix_path_env11
1 files changed, 7 insertions, 4 deletions
diff --git a/nix_path_env b/nix_path_env
index 7ded4ac..8e4c84d 100644
--- a/nix_path_env
+++ b/nix_path_env
@@ -1,9 +1,12 @@
1#!/bin/bash 1#!/bin/bash
2 2
3# This will automatically upgrade to latest version at each build 3if [ -z "$NIXOPS_DEPLOYMENT" ]; then
4# nixpkgs="https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz" 4 # This will automatically upgrade to latest version at each build
5nixpkgs="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171931.3a4ffdd38b5/nixexprs.tar.xz" 5 nixpkgs="https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz"
6nixpkgsPrevious="$nixpkgs" 6else
7 nixpkgs="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171931.3a4ffdd38b5/nixexprs.tar.xz"
8fi
9nixpkgsPrevious="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171931.3a4ffdd38b5/nixexprs.tar.xz"
7nixpkgsNext="$nixpkgs" 10nixpkgsNext="$nixpkgs"
8export NIX_PATH="nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious" 11export NIX_PATH="nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious"
9 12