tvl-depot/.envrc
William Carroll eb1af216cf Clear $NIX_PATH
Ensure that $NIX_PATH is empty using a .envrc file. nix.dev considers references
to <nixpkgs>, <briefcase>, <depot>, <unstable> to be an anti-pattern because it
hinders reproducibility by introducing an implicit environment.

This repository is chock-full of references to
<{nixpkgs,unstable,briefcase,depot}>, so right now everything is broken.
2020-07-02 14:39:08 +01:00

10 lines
475 B
Text

export BRIEFCASE="$(realpath ~/briefcase)"
export DEPOT="$(realpath ~/depot)"
export NIXPKGS="$(realpath ~/nixpkgs)"
# I'm ensuring that $NIX_PATH is unset to avoid the anti-pattern of depending on
# <nixpkgs>, <briefcase>, <depot>, <unstable>.
# For more information about setting this to "", see:
# https://nix.dev/tutorials/towards-reproducibility-pinning-nixpkgs.html#pinning-nixpkgs
export NIX_PATH="";
export DESKTOP="zeno.lon.corp.google.com";
export LAPTOP="seneca";