From 183f7328d02b71d1026be01acd2d914d604eaf68 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 6 Dec 2020 12:11:27 +0100 Subject: [PATCH] Set NIX_PATH from sources --- shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 306fb17..3bdcf9d 100644 --- a/shell.nix +++ b/shell.nix @@ -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} ''; }