summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-09-05 14:11:32 +0200
committerJörg Thalheim <joerg@thalheim.io>2022-09-05 14:11:32 +0200
commit380fcb30268e877ba15b577b0a6bbd2a2cc7f96e (patch)
tree7d503074f0b4d67b4c3f2eeb6d2061cb58df632f /example
parentc0623a47d8a3a2ee9e9973bc84532b1b66dc9387 (diff)
fix example/default.nix
Diffstat (limited to 'example')
-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;