Skip to content

Commit

Permalink
JSON convert in modules error
Browse files Browse the repository at this point in the history
  • Loading branch information
jd1t25 committed Jun 19, 2024
1 parent 2e5d38d commit 1be7cb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/tutorials/module-system/a-basic-module/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ pkgs ? import <nixpkgs> { } }:
let
pkgs = import <nixpkgs> {};
result = pkgs.lib.evalModules {
modules = [
./options.nix
./config.nix
];
};
in
result.config
result.config
2 changes: 1 addition & 1 deletion source/tutorials/module-system/a-basic-module/eval.bash
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nix-shell -p jq --run "nix-instantiate --eval --json | jq"
nix-shell -p jq --run "nix-instantiate --eval --json --strict | jq"

0 comments on commit 1be7cb3

Please sign in to comment.