about summary refs log tree commit diff
path: root/.envrc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-28T23·58+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-28T23·58+0000
commit561cb619a1d0dedd53316804b42ce0241bb271e7 (patch)
treee78a58bd6f8a327b64ade6e87b8896ab647a66af /.envrc
parent37bb04eb5d7c9ccd77926f107ca685039a010e43 (diff)
Add <unstable> to NIX_PATH
1. I should be using NixOS/nixpkgs-channels instead of NixOS/nixpkgs
2. Instead of refactoring everything, I'm supporting <unstable> and pointing it
   to NixOS/nixpkgs-channels

I needed <unstable> to get a more recent version of the Data.Time Haskell
package.
Diffstat (limited to '.envrc')
-rw-r--r--.envrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.envrc b/.envrc
index 76937ae6f439..47a1605b58dd 100644
--- a/.envrc
+++ b/.envrc
@@ -1,6 +1,6 @@
 export BRIEFCASE="$(realpath ~/briefcase)"
 export DEPOT="$(realpath ~/depot)"
 export NIXPKGS="$(realpath ~/nixpkgs)"
-export NIX_PATH="nixpkgs=${NIXPKGS}:depot=${DEPOT}:briefcase=${BRIEFCASE}";
+export NIX_PATH="nixpkgs=${NIXPKGS}:unstable=$(realpath ~/nixpkgs-channels):depot=${DEPOT}:briefcase=${BRIEFCASE}";
 export DESKTOP="zeno.lon.corp.google.com";
 export LAPTOP="seneca";