Created
December 14, 2019 13:11
-
-
Save d-goldin/dd022b2264337a7d739e1fa8f7315f86 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nix-repl> :t "/tmp/a" | |
a string | |
nix-repl> :t /tmp/a | |
a path | |
nix-repl> :t "${/tmp/a}" | |
a string with context | |
nix-repl> sctxt = "${/tmp/a}" | |
nix-repl> :p builtins.getContext sctxt | |
{ "/nix/store/rldyhkmzpddsnl2r1fx6lbpii3zyzdj3-a" = { path = true; }; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment