From 13ff8f66a992674ca62de7394337a6e4ba820013 Mon Sep 17 00:00:00 2001 From: NaiJi Date: Sun, 17 Apr 2022 13:29:07 +0000 Subject: [PATCH] Add '22.nix' --- 22.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 22.nix diff --git a/22.nix b/22.nix new file mode 100644 index 0000000..c6dd310 --- /dev/null +++ b/22.nix @@ -0,0 +1,12 @@ +let + myImport = import {}; + x = 123; + as = { a = "foo"; b = "bar"; }; + +in with as; { + inherit x; #example + #fix line below: we want a and b in this scope + inherit a b; + #also fix this line + z = myImport.lib.isBool true; +} \ No newline at end of file