Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-01 | Reduce severity of EMLINK warnings | Eelco Dolstra | |
Fixes #1357. | |||
2017-05-01 | Add a dummy Store::buildPaths() method | Eelco Dolstra | |
This default implementation of buildPaths() does nothing if all requested paths are already valid, and throws an "unsupported operation" error otherwise. This fixes a regression introduced by c30330df6f67c81986dfb124631bc756c8e58c0d in binary cache and legacy SSH stores. | |||
2017-05-01 | lexer: remove catch-all rules hiding real errors | Guillaume Maudoux | |
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 | |
2017-04-28 | Hopefully fix the Darwin build | Eelco Dolstra | |
http://hydra.nixos.org/build/52080911 | |||
2017-04-28 | Suppress warning about ssh-auth-sock | Eelco Dolstra | |
2017-04-28 | Check for libreadline | Eelco Dolstra | |
2017-04-28 | Fix brainfart | Eelco Dolstra | |
2017-04-28 | Fix hash computation when importing NARs greater than 4 GiB | Eelco Dolstra | |
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 | |
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 | |
2017-04-26 | Doh | Eelco Dolstra | |
2017-04-25 | nix repl: Fix Ctrl-C | Eelco Dolstra | |
2017-04-25 | Minor cleanup | Eelco Dolstra | |
2017-04-25 | "using namespace std" considered harmful | Eelco Dolstra | |
2017-04-25 | nix repl: Use $XDG_DATA_HOME for the readline history | Eelco Dolstra | |
2017-04-25 | Make "nix repl" build | Eelco Dolstra | |
2017-04-25 | Merge nix-repl repository | Eelco Dolstra | |
2017-04-25 | Cleanup in preparation of merging nix-repl repo into nix repo | Eelco Dolstra | |
2017-04-25 | StorePathCommands: Build installables | Eelco Dolstra | |
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 | |
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 | |
So "nix path-info ./result" now works. | |||
2017-04-25 | Make StorePathsCommand a subclass of InstallablesCommand | Eelco Dolstra | |
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 | |
2017-04-25 | Add "nix eval" command | Eelco Dolstra | |
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 | |
2017-04-24 | Remove debug statement | Eelco Dolstra | |
2017-04-24 | Factor out --json | Eelco Dolstra | |
2017-04-24 | nix-shell -p: Use runCommandCC | Eelco Dolstra | |
This restores pre-17.03 behaviour by making gcc available. | |||
2017-04-21 | add helper function to set 'interruptThrown' | David McFarland | |
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-20 | Detect lsof | Eelco Dolstra | |
Also, don't use lsof on Linux since it's not needed. Fixes #1328. | |||
2017-04-20 | Improve nix show-config --json | Eelco Dolstra | |
In particular, show descriptions. This could be used for manpage generation etc. | |||
2017-04-20 | Setting: Remove "Tag" template argument | Eelco Dolstra | |
2017-04-20 | Read per-user settings from ~/.config/nix/nix.conf | Eelco Dolstra | |
2017-04-20 | binary-caches-parallel-connections -> http-connections | Eelco Dolstra | |
2017-04-20 | Reimplement trusted-substituters (aka trusted-binary-caches) | Eelco Dolstra | |
2017-04-19 | Reimplement connect-timeout | Eelco Dolstra | |
Fixes #1339. | |||
2017-04-19 | getDerivations(): Filter out packages with bad derivation names | Eelco Dolstra | |
In particular, this disallows attribute names containing dots or starting with dots. Hydra already disallowed these. This affects the following packages in Nixpkgs master: 2048-in-terminal 2bwm 389-ds-base 90secondportraits lispPackages.3bmd lispPackages.hu.dwim.asdf lispPackages.hu.dwim.def Closes #1342. | |||
2017-04-18 | Merge pull request #1321 from shlevy/channel-direct-tarball-error | Eelco Dolstra | |
nix-channel: error out if direct tarball unpack fails. | |||
2017-04-14 | Shut up some warnings | Eelco Dolstra | |
2017-04-14 | Doh | Eelco Dolstra | |
2017-04-14 | Fix 32-bit build | Eelco Dolstra | |
http://hydra.nixos.org/build/51569816 | |||
2017-04-14 | Minor cleanup | Eelco Dolstra | |
2017-04-14 | nix-daemon: Don't set untrusted-* settings | Eelco Dolstra | |
These are no longer used anywhere. | |||
2017-04-14 | nix-daemon: Don't die if the user sends an unknown setting | Eelco Dolstra | |
2017-04-13 | Add "nix show-config" command | Eelco Dolstra | |
This dumps the entire Nix configuration, including all options that have default values. | |||
2017-04-13 | Convert Settings to the new config system | Eelco Dolstra | |
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning. | |||
2017-04-13 | Support arbitrary numeric types for settings | Eelco Dolstra | |
2017-04-13 | Validate Boolean settings better | Eelco Dolstra | |
2017-04-13 | Merge branch 'rework-options' of https://github.com/copumpkin/nix | Eelco Dolstra | |