mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
5 lines
156 B
Plaintext
5 lines
156 B
Plaintext
nix-repl> fix = f: let result = f result; in result
|
|
nix-repl> pkgs = self: { a = 3; b = 4; c = self.a+self.b; }
|
|
nix-repl> fix pkgs
|
|
{ a = 3; b = 4; c = 7; }
|