Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-04-26 | Add Store nesting to fix import-from-derivation within filterSource | Shea Levy | 2 | -0/+18 | |
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 | "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 | 2 | -32/+36 | |
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 | 1 | -0/+719 | |
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-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-20 | Detect lsof | Eelco Dolstra | 2 | -4/+10 | |
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 | 7 | -16/+42 | |
2017-04-20 | binary-caches-parallel-connections -> http-connections | Eelco Dolstra | 1 | -2/+3 | |
2017-04-20 | Reimplement trusted-substituters (aka trusted-binary-caches) | Eelco Dolstra | 2 | -6/+46 | |
2017-04-19 | Reimplement connect-timeout | Eelco Dolstra | 2 | -0/+5 | |
Fixes #1339. | |||||
2017-04-19 | getDerivations(): Filter out packages with bad derivation names | Eelco Dolstra | 1 | -0/+6 | |
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 | 1 | -6/+3 | |
nix-channel: error out if direct tarball unpack fails. | |||||
2017-04-14 | Shut up some warnings | Eelco Dolstra | 5 | -11/+16 | |
2017-04-14 | Doh | Eelco Dolstra | 1 | -1/+1 | |
2017-04-14 | Fix 32-bit build | Eelco Dolstra | 1 | -1/+3 | |
http://hydra.nixos.org/build/51569816 | |||||
2017-04-14 | Minor cleanup | Eelco Dolstra | 2 | -3/+3 | |
2017-04-14 | nix-daemon: Don't set untrusted-* settings | Eelco Dolstra | 1 | -3/+1 | |
These are no longer used anywhere. | |||||
2017-04-14 | nix-daemon: Don't die if the user sends an unknown setting | Eelco Dolstra | 1 | -4/+8 | |
2017-04-13 | Add "nix show-config" command | Eelco Dolstra | 1 | -0/+43 | |
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 | 15 | -504/+323 | |
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 | 1 | -4/+17 | |
2017-04-13 | Validate Boolean settings better | Eelco Dolstra | 1 | -1/+6 | |
2017-04-13 | Merge branch 'rework-options' of https://github.com/copumpkin/nix | Eelco Dolstra | 11 | -92/+221 | |
2017-04-13 | Add a Config class to simplify adding configuration settings | Eelco Dolstra | 16 | -40/+334 | |
The typical use is to inherit Config and add Setting<T> members: class MyClass : private Config { Setting<int> foo{this, 123, "foo", "the number of foos to use"}; Setting<std::string> bar{this, "blabla", "bar", "the name of the bar"}; MyClass() : Config(readConfigFile("/etc/my-app.conf")) { std::cout << foo << "\n"; // will print 123 unless overriden } }; Currently, this is used by Store and its subclasses for store parameters. You now get a warning if you specify a non-existant store parameter in a store URI. | |||||
2017-04-13 | canonPath(): Check against empty paths | Eelco Dolstra | 1 | -0/+2 | |
2017-04-13 | Add warn function | Eelco Dolstra | 2 | -1/+16 | |
2017-04-13 | Initialise logger | Eelco Dolstra | 2 | -3/+1 | |
2017-04-12 | Merge pull request #1302 from dtzWill/fix/nix-options | Eelco Dolstra | 1 | -0/+1 | |
Process nix.conf options in "new" commands, add test | |||||
2017-04-10 | nix-channel: error out if direct tarball unpack fails. | Shea Levy | 1 | -6/+3 | |
It's very unlikely a path ending in .tar.gz is a directory Fixes #1318 | |||||
2017-04-10 | Merge pull request #1316 from copumpkin/nix-retries-default | Eelco Dolstra | 1 | -1/+1 | |
Default to 5 download retries | |||||
2017-04-10 | Add CURLE_WRITE_ERROR as a transient error condition | Dan Peebles | 1 | -0/+5 | |
We've observed it failing downloads in the wild and retrying the same URL a few moments later seemed to fix it. | |||||
2017-04-10 | Default to 5 download retries | Dan Peebles | 1 | -1/+1 | |
This should help certain downloaders that don't request anything special for the number of retries, like nix-channel. | |||||
2017-04-10 | Minor cleanup | Eelco Dolstra | 3 | -15/+5 | |
Also, possible fix for #1310 on 32-bit systems. | |||||
2017-04-10 | Allow "auto" as a store URI | Eelco Dolstra | 1 | -1/+1 | |
Using the empty string is likely to be ambiguous in some contexts. |