summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2022-09-05 13:12:32 +0100
committerGitHub <noreply@github.com>2022-09-05 13:12:32 +0100
commit4d50d08e81fede021abb79c5daea409916683783 (patch)
tree7d503074f0b4d67b4c3f2eeb6d2061cb58df632f
parentc0623a47d8a3a2ee9e9973bc84532b1b66dc9387 (diff)
parent380fcb30268e877ba15b577b0a6bbd2a2cc7f96e (diff)
Merge pull request #35 from nix-community/fix-example
fix example/default.nix
-rw-r--r--example/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/example/default.nix b/example/default.nix
index bf8cd43..e69c8db 100644
--- a/example/default.nix
+++ b/example/default.nix
@@ -1,12 +1,11 @@
# usage: nix-instantiate --eval --json --strict example | jq -r .
let
- # TODO: get rid of NIX_PATH dependency here
- pkgs = import <nixpkgs> {};
cfg = import ./config.nix;
#cfg = import ./config-gpt-bios.nix;
in
-with import ../lib { inherit (pkgs) lib;};
+# TODO: get rid of NIX_PATH dependency here
+with import ../. {};
{
config = config cfg;