Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-07-30 | Replace Unicode quotes in user-facing strings by ASCII | Jörg Thalheim | 9 | -57/+57 | |
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g" | |||||
2017-07-28 | nix-prefetch-url: Fix regression in hash printing | Eelco Dolstra | 1 | -1/+1 | |
2017-07-26 | nix search: Add a cache | Eelco Dolstra | 2 | -11/+23 | |
The package list is now cached in ~/.cache/nix/package-search.json. This gives a substantial speedup to "nix search" queries. For example (on an SSD): First run: (no package search cache, cold page cache) $ time nix search blender Attribute name: nixpkgs.blender Package name: blender Version: 2.78c Description: 3D Creation/Animation/Publishing System real 0m6.516s Second run: (package search cache populated) $ time nix search blender Attribute name: nixpkgs.blender Package name: blender Version: 2.78c Description: 3D Creation/Animation/Publishing System real 0m0.143s | |||||
2017-07-20 | Add "nix search" command | Eelco Dolstra | 2 | -2/+3 | |
2017-07-14 | nix: Show help when no arguments are given | Eelco Dolstra | 2 | -3/+4 | |
Fixes #1464. | |||||
2017-07-11 | replaceSymlink(): Handle the case where the temporary file already exists | Eelco Dolstra | 1 | -4/+13 | |
Not really necessary anymore for #849, but still nice to have. | |||||
2017-07-10 | Merge pull request #1422 from nh2/fix-potential-hash-comparison-crash | Eelco Dolstra | 1 | -0/+2 | |
Fix potential crash/wrong result two hashes of unequal length are compared | |||||
2017-07-04 | Support base-64 hashes | Eelco Dolstra | 2 | -123/+113 | |
Also simplify the Hash API. Fixes #1437. | |||||
2017-07-03 | processGraph(): Call getEdges in parallel | Eelco Dolstra | 1 | -28/+47 | |
2017-06-24 | Fix potential crash/wrong result two hashes of unequal length are compared | Niklas Hambüchen | 1 | -0/+2 | |
2017-06-12 | Suppress spurious "killing process N: Operation not permitted" on macOS | Eelco Dolstra | 1 | -2/+9 | |
2017-06-07 | Don't show flags from config settings in "nix --help" | Eelco Dolstra | 4 | -43/+101 | |
2017-06-07 | nix: Add --help-config flag | Eelco Dolstra | 2 | -2/+10 | |
2017-06-07 | nix: Make all options available as flags | Eelco Dolstra | 2 | -0/+31 | |
Thus, instead of ‘--option <name> <value>’, you can write ‘--<name> <value>’. So --option http-connections 100 becomes --http-connections 100 Apart from brevity, the difference is that it's not an error to set a non-existent option via --option, but unrecognized arguments are fatal. Boolean options have special treatment: they're mapped to the argument-less flags ‘--<name>’ and ‘--no-<name>’. E.g. --option auto-optimise-store false becomes --no-auto-optimise-store | |||||
2017-05-29 | Fix build failure on Debian/Ubuntu | Eelco Dolstra | 2 | -2/+1 | |
http://hydra.nixos.org/build/53537463 | |||||
2017-05-16 | Improve progress indicator | Eelco Dolstra | 4 | -33/+75 | |
2017-05-15 | Make fmt() non-recursive | Eelco Dolstra | 2 | -12/+7 | |
2017-05-05 | Figure out the user's home directory if $HOME is not set | Eelco Dolstra | 3 | -17/+79 | |
2017-05-03 | Fix build on gcc 4.9 | Eelco Dolstra | 2 | -3/+6 | |
http://hydra.nixos.org/build/52408843 | |||||
2017-05-01 | Minor cleanup | Eelco Dolstra | 1 | -2/+2 | |
2017-04-28 | Hopefully fix the Darwin build | Eelco Dolstra | 1 | -0/+1 | |
http://hydra.nixos.org/build/52080911 | |||||
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 | Add Store nesting to fix import-from-derivation within filterSource | Shea Levy | 1 | -0/+16 | |
2017-04-25 | nix repl: Use $XDG_DATA_HOME for the readline history | Eelco Dolstra | 2 | -0/+15 | |
2017-04-21 | add helper function to set 'interruptThrown' | David McFarland | 2 | -2/+7 | |
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 | Improve nix show-config --json | Eelco Dolstra | 4 | -38/+62 | |
In particular, show descriptions. This could be used for manpage generation etc. | |||||
2017-04-20 | Setting: Remove "Tag" template argument | Eelco Dolstra | 2 | -50/+51 | |
2017-04-20 | Read per-user settings from ~/.config/nix/nix.conf | Eelco Dolstra | 4 | -5/+35 | |
2017-04-14 | Fix 32-bit build | Eelco Dolstra | 1 | -1/+3 | |
http://hydra.nixos.org/build/51569816 | |||||
2017-04-13 | Convert Settings to the new config system | Eelco Dolstra | 2 | -26/+100 | |
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 | Add a Config class to simplify adding configuration settings | Eelco Dolstra | 3 | -0/+265 | |
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 | 1 | -1/+1 | |
2017-04-06 | Fix bogus "unexpected Nix daemon error: interrupted by the user" | Eelco Dolstra | 1 | -2/+2 | |
2017-04-06 | nix-daemon: Disable path info cache | Eelco Dolstra | 2 | -3/+6 | |
This is useless because the client also caches path info, and can cause problems for long-running clients like hydra-queue-runner (i.e. it may return cached info about paths that have been garbage-collected). | |||||
2017-03-22 | Fix xz decompression | Eelco Dolstra | 1 | -4/+1 | |
Fixes #1285. | |||||
2017-03-21 | LocalFSStore::getBuildLog(): Handle corrupted logs | Eelco Dolstra | 2 | -12/+14 | |
2017-03-21 | Don't hang in decompression if bzip2 data ends prematurely | Eelco Dolstra | 1 | -0/+6 | |
2017-03-21 | Move istringstream_nocopy to a separate file | Eelco Dolstra | 3 | -89/+93 | |
2017-03-20 | Merge branch 'darwin-s3-binary-cache-store' of https://github.com/shlevy/nix | Eelco Dolstra | 2 | -1/+88 | |
2017-03-16 | Remove "killing process <pid>" messages | Eelco Dolstra | 2 | -4/+3 | |
They convey no useful information. | |||||
2017-03-15 | runProgram(): Distinguish between empty input and no input | Eelco Dolstra | 3 | -12/+27 | |
For example, if we call brotli with an empty input, it shouldn't read from the caller's stdin. | |||||
2017-03-15 | S3BinaryCacheStore: Support compression of narinfo and log files | Eelco Dolstra | 1 | -0/+31 | |
You can now set the store parameter "text-compression=br" to compress textual files in the binary cache (i.e. narinfo and logs) using Brotli. This sets the Content-Encoding header; the extension of compressed files is unchanged. You can separately specify the compression of log files using "log-compression=br". This is useful when you don't want to compress narinfo files for backward compatibility. | |||||
2017-03-15 | Fix assertion failure on SIGINT | Eelco Dolstra | 1 | -2/+0 | |
nix: src/libutil/compression.cc:142: virtual nix::XzSink::~XzSink(): Assertion `finished' failed. | |||||
2017-03-15 | Fix deadlock in runProgram() when input is larger than the pipe buffer size | Eelco Dolstra | 1 | -3/+9 | |
2017-03-15 | Add support for brotli compression | Eelco Dolstra | 2 | -0/+9 | |
Build logs on cache.nixos.org are compressed using Brotli (since this allows them to be decompressed automatically by Chrome and Firefox), so it's handy if "nix log" can decompress them. | |||||
2017-03-08 | Add missing header <sstream> | Adrien Devresse | 1 | -0/+1 | |