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.
This commit is contained in:
William Carroll 2020-03-28 23:58:37 +00:00
parent 37bb04eb5d
commit 561cb619a1

2
.envrc
View file

@ -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";