Skip to content

Instantly share code, notes, and snippets.

@joepie91
Created March 13, 2018 05:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joepie91/878d2a546a6c3831a49b26ff59f6e3b3 to your computer and use it in GitHub Desktop.
Save joepie91/878d2a546a6c3831a49b26ff59f6e3b3 to your computer and use it in GitHub Desktop.
~  $  nix-instantiate --eval -E 'let foo = {bar="3";}; in foo.baz or -3'
error: syntax error, unexpected '-', at (string):1:37
~  $  nix-instantiate --eval -E 'let foo = {bar="3";}; in foo.baz or 3'
3
~  $  nix-instantiate --eval -E 'let foo = {bar="3";}; in -3'
-3
~  $  nix-instantiate --eval -E 'let foo = {bar="3";}; in 3'
3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment