mirror of
https://github.com/nix-community/disko.git
synced 2024-09-17 09:37:17 +03:00
fix example/default.nix
This commit is contained in:
parent
c0623a47d8
commit
380fcb3026
@ -1,12 +1,11 @@
|
|||||||
# usage: nix-instantiate --eval --json --strict example | jq -r .
|
# usage: nix-instantiate --eval --json --strict example | jq -r .
|
||||||
|
|
||||||
let
|
let
|
||||||
# TODO: get rid of NIX_PATH dependency here
|
|
||||||
pkgs = import <nixpkgs> {};
|
|
||||||
cfg = import ./config.nix;
|
cfg = import ./config.nix;
|
||||||
#cfg = import ./config-gpt-bios.nix;
|
#cfg = import ./config-gpt-bios.nix;
|
||||||
in
|
in
|
||||||
with import ../lib { inherit (pkgs) lib;};
|
# TODO: get rid of NIX_PATH dependency here
|
||||||
|
with import ../. {};
|
||||||
|
|
||||||
{
|
{
|
||||||
config = config cfg;
|
config = config cfg;
|
||||||
|
Loading…
Reference in New Issue
Block a user