diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2025-04-18 21:21:37 +0200 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2025-04-18 21:21:37 +0200 |
commit | a00113edd596f0bad40269573999abd844ca82b5 (patch) | |
tree | ff88579120b50642d43afd495a5ab72b6bfa1aba /Nix Inherit.md | |
parent | e8341d867b2ce5752664d0b4be4fef440ad56f21 (diff) |
vault backup: 2025-04-18 21:21:37
Diffstat (limited to 'Nix Inherit.md')
-rw-r--r-- | Nix Inherit.md | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Nix Inherit.md b/Nix Inherit.md deleted file mode 100644 index 4a8adb0..0000000 --- a/Nix Inherit.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -tags: - - nix-lang ---- -```nix -let x = 123; in -{ - inherit x; - y = 456; -} -``` -== -```nix -let x = 123; in -{ - x = x; - y = 456; -} -``` - -Can reference set -```nix -inherit (src-set) a b c; -``` -== -```nix -a = src-set.a; b = src-set.b; c = src-set.c; -```
\ No newline at end of file |