Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-05-01 | Merge pull request #1366 from Mic92/fix-nix-daemon-service | Eelco Dolstra | 1 | -0/+1 | |
nix-daemon.service: fix startup | |||||
2017-05-01 | Merge branch 'remove-catchall' of https://github.com/layus/nix | Eelco Dolstra | 3 | -13/+29 | |
2017-05-01 | lexer: remove catch-all rules hiding real errors | Guillaume Maudoux | 1 | -10/+17 | |
With catch-all rules, we hide potential errors. It turns out that a4744254 made one cath-all useless. Flex detected that is was impossible to reach. The other is more subtle, as it can only trigger on unfinished escapes in unfinished strings, which only occurs at EOF. | |||||
2017-05-01 | Fix lexer to support `$'` in multiline strings. | Guillaume Maudoux | 3 | -3/+12 | |
2017-04-29 | nix-daemon.service: set XDG_CONFIG_HOME | Jörg Thalheim | 1 | -0/+1 | |
Otherwise starting nix-daemon fails ● nix-daemon.service - Nix Daemon Loaded: loaded (/nix/store/mnf00a6gc55xl47smk0b32gmi7xpvlfp-nix-1.12pre5308_2f21d522/lib/systemd/system/nix-daemon.service; enabled; vendor preset: enabled) Drop-In: /nix/store/m2rgjp71n4kyp8j5fxgbrlv13scd5vvv-system-units/nix-daemon.service.d └─overrides.conf Active: failed (Result: exit-code) since Sat 2017-04-29 11:29:21 CEST; 9s ago Process: 7299 ExecStart=nix-daemon --daemon (code=exited, status=1/FAILURE) Main PID: 7299 (code=exited, status=1/FAILURE) CPU: 19ms ... systemd[1]: Started Nix Daemon. ... nix-daemon[7299]: error: $XDG_CONFIG_HOME and $HOME are not set ... systemd[1]: nix-daemon.service: Main process exited, code=exited, status=1/FAILURE ... systemd[1]: nix-daemon.service: Unit entered failed state. ... systemd[1]: nix-daemon.service: Failed with result 'exit-code'. ... systemd[1]: nix-daemon.service: Start request repeated too quickly. ... systemd[1]: Failed to start Nix Daemon. ... systemd[1]: nix-daemon.service: Failed with result 'exit-code'. | |||||
2017-04-28 | Hopefully fix the Darwin build | Eelco Dolstra | 1 | -0/+1 | |
http://hydra.nixos.org/build/52080911 | |||||
2017-04-28 | Suppress warning about ssh-auth-sock | Eelco Dolstra | 1 | -1/+3 | |
2017-04-28 | Check for libreadline | Eelco Dolstra | 7 | -5/+22 | |
2017-04-28 | Fix brainfart | Eelco Dolstra | 1 | -1/+1 | |
2017-04-28 | Fix hash computation when importing NARs greater than 4 GiB | Eelco Dolstra | 1 | -1/+1 | |
This caused "nix-store --import" to compute an incorrect hash on NARs that don't fit in an unsigned int. The import would succeed, but "nix-store --verify-path" or subsequent exports would detect an incorrect hash. A deeper issue is that the export/import format does not contain a hash, so we can't detect such issues early. Also, I learned that -Wall does not warn about this. | |||||
2017-04-26 | Merge pull request #1358 from shlevy/store-nesting | Eelco Dolstra | 2 | -0/+18 | |
Add Store nesting to fix import-from-derivation within filterSource | |||||
2017-04-26 | Add Store nesting to fix import-from-derivation within filterSource | Shea Levy | 2 | -0/+18 | |
2017-04-26 | Doh | Eelco Dolstra | 1 | -1/+1 | |
2017-04-26 | Simplify building nix-perl in nix-shell | Eelco Dolstra | 5 | -6/+15 | |
2017-04-25 | nix repl: Fix Ctrl-C | Eelco Dolstra | 1 | -0/+10 | |
2017-04-25 | Minor cleanup | Eelco Dolstra | 1 | -10/+7 | |
2017-04-25 | Fix nix-shell test | Eelco Dolstra | 1 | -2/+4 | |
2017-04-25 | "using namespace std" considered harmful | Eelco Dolstra | 1 | -6/+5 | |
2017-04-25 | nix repl: Use $XDG_DATA_HOME for the readline history | Eelco Dolstra | 3 | -3/+19 | |
2017-04-25 | Make "nix repl" build | Eelco Dolstra | 4 | -33/+39 | |
2017-04-25 | Merge nix-repl repository | Eelco Dolstra | 1 | -0/+719 | |
2017-04-25 | Cleanup in preparation of merging nix-repl repo into nix repo | Eelco Dolstra | 4 | -798/+0 | |
2017-04-25 | Merge branch 'master' of https://github.com/olejorgenb/nix-repl | Eelco Dolstra | 2 | -1/+12 | |
2017-04-25 | Fix build | Eelco Dolstra | 2 | -5/+7 | |
2017-04-25 | StorePathCommands: Build installables | Eelco Dolstra | 3 | -20/+13 | |
So for instance "nix copy --to ... nixpkgs.hello" will build nixpkgs.hello first. It's debatable whether this is a good idea. It seems desirable for commands like "nix copy" but maybe not for commands like "nix path-info". | |||||
2017-04-25 | Set default installable | Eelco Dolstra | 1 | -1/+7 | |
Thus $ nix build -f foo.nix will build foo.nix. And $ nix build will build default.nix. However, this may not be a good idea because it's kind of inconsistent, given that "nix build foo" will build the "foo" attribute from the default installation source (i.e. the synthesis of $NIX_PATH), rather than ./default.nix. So I may revert this. | |||||
2017-04-25 | Interpret any installable containing a slash as a path | Eelco Dolstra | 1 | -11/+7 | |
So "nix path-info ./result" now works. | |||||
2017-04-25 | Make StorePathsCommand a subclass of InstallablesCommand | Eelco Dolstra | 2 | -24/+33 | |
This allows commands like 'nix path-info', 'nix copy', 'nix verify' etc. to work on arbitrary installables. E.g. to copy geeqie to a binary cache: $ nix copy -r --to file:///tmp/binary-cache nixpkgs.geeqie Or to get the closure size of thunderbird: $ nix path-info -S nixpkgs.thunderbird | |||||
2017-04-25 | Move code around | Eelco Dolstra | 8 | -80/+68 | |
2017-04-25 | Add "nix eval" command | Eelco Dolstra | 1 | -0/+44 | |
This replaces "nix-instantiate --eval". The result is evaluated strictly since this seems more useful. | |||||
2017-04-25 | Restructure installables handling in the "nix" command | Eelco Dolstra | 9 | -124/+257 | |
2017-04-24 | Remove debug statement | Eelco Dolstra | 1 | -1/+0 | |
2017-04-24 | Factor out --json | Eelco Dolstra | 3 | -8/+14 | |
2017-04-24 | nix-shell -p: Use runCommandCC | Eelco Dolstra | 1 | -1/+1 | |
This restores pre-17.03 behaviour by making gcc available. | |||||
2017-04-24 | Merge pull request #1347 from kennyballou/sm-grammar-fix | Eelco Dolstra | 1 | -1/+1 | |
Fix small grammar issue about page | |||||
2017-04-24 | Merge pull request #1351 from earldouglas/ellipses | Eelco Dolstra | 1 | -1/+1 | |
Drop misleading ellipses | |||||
2017-04-24 | Merge pull request #1348 from armijnhemel/nix-env | Eelco Dolstra | 1 | -1/+1 | |
better document --meta option for nix-env | |||||
2017-04-21 | Merge pull request #1352 from corngood/cygwin-fixes | Eelco Dolstra | 4 | -5/+10 | |
Cygwin fixes | |||||
2017-04-21 | add helper function to set 'interruptThrown' | David McFarland | 3 | -3/+8 | |
this fixes a linker failure on cygwin 64 due to some bad interaction between tls and shared libraries. see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697 | |||||
2017-04-21 | set _GNU_SOURCE on cygwin | David McFarland | 1 | -2/+2 | |
this is needed for pipe2() | |||||
2017-04-20 | Drop misleading ellipses | James Earl Douglas | 1 | -1/+1 | |
This portion of the quick start guide may lead to confusion for newcomers to Nix. This change clarifies the example to one that can be copied in its entirety. | |||||
2017-04-20 | Detect lsof | Eelco Dolstra | 4 | -4/+12 | |
Also, don't use lsof on Linux since it's not needed. Fixes #1328. | |||||
2017-04-20 | Improve nix show-config --json | Eelco Dolstra | 6 | -40/+68 | |
In particular, show descriptions. This could be used for manpage generation etc. | |||||
2017-04-20 | Setting: Remove "Tag" template argument | Eelco Dolstra | 5 | -74/+90 | |
2017-04-20 | Read per-user settings from ~/.config/nix/nix.conf | Eelco Dolstra | 8 | -24/+70 | |
2017-04-20 | binary-caches-parallel-connections -> http-connections | Eelco Dolstra | 2 | -3/+4 | |
2017-04-20 | nix.conf man page: binary-caches -> substituters | Eelco Dolstra | 1 | -21/+13 | |
2017-04-20 | Reimplement trusted-substituters (aka trusted-binary-caches) | Eelco Dolstra | 2 | -6/+46 | |
2017-04-19 | document option | Armijn Hemel | 1 | -1/+1 | |
2017-04-19 | Fix small grammar issue about page | kballou | 1 | -1/+1 | |
Fix subject-verb agreement issue in introduction/about. |