diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2022-08-17 14:00:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 14:00:19 +0100 |
commit | 91efad532608b2d5aedc2ce40e8daf5844f1ac74 (patch) | |
tree | 88197df546363895dc7194d0f1722cc6e803b08f /example | |
parent | 2fc06462ce5c31d363686b110b42d653b6f8f366 (diff) | |
parent | 6b3d6452eb0ecd019468eff149b023560360e566 (diff) |
Merge pull request #8 from nix-community/no-impure
No impure
Diffstat (limited to 'example')
-rw-r--r-- | example/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/example/default.nix b/example/default.nix index aa03d27..f2826c9 100644 --- a/example/default.nix +++ b/example/default.nix @@ -1,6 +1,10 @@ # usage: nix-instantiate --eval --json --strict example | jq -r . -with import ../lib; +let + # TODO: get rid of NIX_PATH dependency here + pkgs = import <nixpkgs> {}; +in +with import ../lib { inherit (pkgs) lib;}; { config = config (import ./config.nix); |