Add '22.nix'

master
NaiJi ✨ 2 years ago
parent 504e808c98
commit 13ff8f66a9

@ -0,0 +1,12 @@
let
myImport = import <nixpkgs> {};
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;
}
Loading…
Cancel
Save