Nix (language): Difference between revisions
imported>Mic92 No edit summary |
imported>7c6f434c Floating-point numbers are now supported |
||
Line 56: | Line 56: | ||
''</SyntaxHighlight> | ''</SyntaxHighlight> | ||
|- | |- | ||
| Integers || | | Integers || || <code>5</code> | ||
|- | |||
| Floating-point numbers || Precision is limited || <code>1.2</code> | |||
|- | |- | ||
| Path || relative paths will become to absolute when evaluated,paths must contain a slash. <code><nixpkgs/pkgs></code> is also possible and will resolve to the folder incl. subfolders in your NIX_PATH || <syntaxHighlight>./hello/world | | Path || relative paths will become to absolute when evaluated,paths must contain a slash. <code><nixpkgs/pkgs></code> is also possible and will resolve to the folder incl. subfolders in your NIX_PATH || <syntaxHighlight>./hello/world |