Set NIX_PATH from sources

This commit is contained in:
Simon Bruder 2020-12-06 12:11:27 +01:00
parent 01eac3f3e7
commit 183f7328d0
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -14,6 +14,6 @@ pkgs.mkShell {
shellHook = ''
export NIXOPS_DEPLOYMENT=schulischer-schabernack-hcloud
export NIX_PATH=nixpkgs=$(${pkgs.jq}/bin/jq -r .nixpkgs.url nix/sources.json)
export NIX_PATH=nixpkgs=${sources.nixpkgs}
'';
}