Merge pull request #35 from nix-community/fix-example

fix example/default.nix
This commit is contained in:
Jörg Thalheim 2022-09-05 13:12:32 +01:00 committed by GitHub
commit 4d50d08e81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;