12 lines
244 B
Nix
12 lines
244 B
Nix
|
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;
|
||
|
}
|