Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-08-16 | Improve substitution progress indicator | Eelco Dolstra | 5 | -86/+93 | |
E.g. $ nix build --store local?root=/tmp/nix nixpkgs.firefox-unwrapped [0/1 built, 1/97/98 fetched, 65.8/92.8 MiB DL, 203.2/309.2 MiB copied] downloading 'https://cache.nixos.org/nar/1czm9fk0svacy4h6a3fzkpafi4f7a9gml36kk8cq1igaghbspg3k.nar.xz' | |||||
2017-08-16 | nix copy: Improve progress indicator | Eelco Dolstra | 4 | -38/+111 | |
It now shows the amount of data copied: [8/1038 copied, 160.4/1590.9 MiB copied] copying path '...' | |||||
2017-08-16 | nix copy: Revive progress bar | Eelco Dolstra | 6 | -2/+99 | |
2017-08-16 | nix copy: Add --no-check-sigs flag | Eelco Dolstra | 1 | -1/+9 | |
2017-08-16 | Disallow SSH host names starting with a dash | Eelco Dolstra | 2 | -8/+12 | |
2017-08-15 | Merge pull request #1517 from nbp/move-match-doc | Eelco Dolstra | 1 | -36/+36 | |
Move builtins.match documentation between map and mul. | |||||
2017-08-15 | Move builtins.match documentation between map and mul. | Nicolas B. Pierron | 1 | -36/+36 | |
2017-08-10 | Start of 1.12 release notes | Eelco Dolstra | 1 | -2/+360 | |
2017-08-10 | Style fix | Eelco Dolstra | 1 | -1/+2 | |
2017-08-09 | Use /proc/self/fd to efficiently close all FDs on Linux | Eelco Dolstra | 3 | -5/+19 | |
Issue #1506. | |||||
2017-08-09 | nix repl: Support printing floating-point numbers | Eelco Dolstra | 1 | -0/+4 | |
2017-08-09 | Merge pull request #1499 from puffnfresh/bug/arm-fixes | Eelco Dolstra | 1 | -0/+1 | |
Include missing <cstdlib> for abort() | |||||
2017-08-03 | Include missing <cstdlib> for abort() | Brian McKenna | 1 | -0/+1 | |
This is needed to get Nix compiled using Android NDK. | |||||
2017-07-31 | Merge branch 'macOS' of https://github.com/davidak/nix | Eelco Dolstra | 8 | -10/+10 | |
2017-07-31 | Merge branch 'quotes' of https://github.com/Mic92/nix-1 | Eelco Dolstra | 86 | -662/+662 | |
2017-07-30 | Replace Unicode quotes in user-facing strings by ASCII | Jörg Thalheim | 86 | -662/+662 | |
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g" | |||||
2017-07-30 | replace "OS X" with "macOS" | davidak | 2 | -3/+3 | |
2017-07-30 | replace "Mac OS X" with "macOS" | davidak | 6 | -7/+7 | |
except in older release notes where the name was actually Mac OS X. | |||||
2017-07-28 | nix-build: Fix regression causing all outputs to be built | Eelco Dolstra | 1 | -4/+4 | |
2017-07-28 | nix-prefetch-url: Fix regression in hash printing | Eelco Dolstra | 1 | -1/+1 | |
2017-07-27 | builtins.fetchgit: Support specifying commit hashes | Eelco Dolstra | 2 | -9/+29 | |
This adds an argument "rev" specififying the Git commit hash. The existing argument "rev" is renamed to "ref". The default value for "ref" is "master". When specifying a hash, it's necessary to specify a ref since we're not cloning the entire repository but only fetching a specific ref. Example usage: builtins.fetchgit { url = https://github.com/NixOS/nixpkgs.git; ref = "release-16.03"; rev = "c1c0484041ab6f9c6858c8ade80a8477c9ae4442"; }; | |||||
2017-07-27 | builtins.fetchgit: Respect tarball-ttl | Eelco Dolstra | 1 | -1/+19 | |
I.e. if the local ref is more recent than tarball-ttl seconds, then don't check the remote. | |||||
2017-07-27 | builtins.fetchgit: Use proper refs locally | Eelco Dolstra | 1 | -4/+3 | |
2017-07-27 | builtins.fetchgit: Cache hash -> store path mappings | Eelco Dolstra | 1 | -2/+18 | |
This prevents an expensive call to addToStore() in the cached case. | |||||
2017-07-26 | nix search: Add a cache | Eelco Dolstra | 3 | -20/+92 | |
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-26 | nix-build/nix-shell: Eliminate call to nix-instantiate / nix-store | Eelco Dolstra | 6 | -462/+400 | |
Note that this removes the need for a derivation symlink, so the --drv-path and --add-drv-link flags now do nothing. | |||||
2017-07-20 | nix-shell: Use bashInteractive from <nixpkgs> | Eelco Dolstra | 5 | -13/+54 | |
This adds about 0.1s to nix-shell runtime in the case where bashInteractive already exists. See discussion at https://github.com/NixOS/nixpkgs/issues/27493. | |||||
2017-07-20 | nix search: Ignore top-level eval errors | Eelco Dolstra | 2 | -2/+13 | |
$NIX_PATH may contain elements that don't evaluate to an attrset (like "nixos-config"), so ignore those. | |||||
2017-07-20 | FD_SETSIZE check: BuildError -> Error | Eelco Dolstra | 1 | -3/+2 | |
BuildError denotes a permanent build failure, which is not the case here. | |||||
2017-07-20 | nix search: Add --json flag | Eelco Dolstra | 1 | -13/+27 | |
2017-07-20 | Add "nix search" command | Eelco Dolstra | 9 | -102/+263 | |
2017-07-19 | Merge pull request #1471 from veprbl/fdsetsize | Eelco Dolstra | 1 | -0/+3 | |
Do not try to fill fd_set with fd>=FD_SETSIZE | |||||
2017-07-18 | Do not try to fill fd_set with fd>=FD_SETSIZE | Dmitry Kalinkin | 1 | -0/+3 | |
This is UB and causes buffer overflow and crash on linux. | |||||
2017-07-18 | Merge pull request #1470 from grahamc/patch-1 | Domen Kožar | 2 | -2/+2 | |
Update mailing list. | |||||
2017-07-18 | Update mailing list. | Graham Christensen | 1 | -1/+1 | |
2017-07-18 | Update the mailing list. | Graham Christensen | 1 | -1/+1 | |
2017-07-17 | Always use base-16 for hashed mirror lookups | Eelco Dolstra | 2 | -1/+15 | |
In particular, don't use base-64, which we don't support. (We do have base-32 redirects for hysterical reasons.) Also, add a test for the hashed mirror feature. | |||||
2017-07-17 | Make the hashes mirrors used by builtins.fetchurl configurable | Eelco Dolstra | 4 | -8/+42 | |
In particular, this allows it to be disabled in our tests. | |||||
2017-07-17 | Fix accidental printError | Eelco Dolstra | 1 | -1/+1 | |
2017-07-16 | Merge pull request #1467 from alicebob/nomd5 | Domen Kožar | 3 | -5/+5 | |
use sha256 hashes in the examples | |||||
2017-07-15 | use sha256 hashes in the examples | Harmen | 3 | -5/+5 | |
And fix a dead link. | |||||
2017-07-14 | nix path-info: Show download sizes for binary cache stores | Eelco Dolstra | 3 | -9/+30 | |
E.g. $ nix path-info --json --store https://cache.nixos.org nixpkgs.thunderbird -S ... "downloadHash": "sha256:1jlixpzi225wwa0f4xdrwrqgi47ip1qpj9p06fyxxg07sfmyi4q0", "downloadSize": 43047620, "closureDownloadSize": 84745960 } ] | |||||
2017-07-14 | Avoid a call to derivationFromPath() | Eelco Dolstra | 3 | -28/+29 | |
This doesn't work in read-only mode, ensuring that operations like nix path-info --store https://cache.nixos.org -S nixpkgs.hello (asking for the closure size of nixpkgs.hello in cache.nixos.org) work when nixpkgs.hello doesn't exist in the local store. | |||||
2017-07-14 | nix path-info: Don't barf on invalid paths | Eelco Dolstra | 3 | -30/+38 | |
Now you get [ { "path": "/nix/store/fzvliz4j5xzvnd0w5zgw2l0ksqh578yk-bla", "valid": false } ] | |||||
2017-07-14 | StorePathsCommand: Don't build installables | Eelco Dolstra | 5 | -8/+10 | |
On second though this was annoying. E.g. "nix log nixpkgs.hello" would build/download Hello first, even though the log can be fetched directly from the binary cache. May need to revisit this. | |||||
2017-07-14 | Merge pull request #1466 from grahamc/nix-master-darwin-install | Eelco Dolstra | 5 | -9/+938 | |
Multi-user installer for Darwin (master edition) | |||||
2017-07-14 | Rename PINCH_ME_IM_SILLY to ALLOW_PREEXISTING_INSTALLATION | Graham Christensen | 2 | -4/+4 | |
2017-07-14 | If there is no TTY, also skip verbose sudo messages | Graham Christensen | 2 | -3/+34 | |
2017-07-14 | Ensure PINCH_ME_IM_SILLY allows a /nix/store to stick around between builds | Graham Christensen | 2 | -6/+9 | |
Also output in the status report that the user is very silly | |||||
2017-07-14 | Assume yes if we have no TTY | Graham Christensen | 2 | -2/+14 | |
Starve the TTY of input to ensure this works, but provide yes to the current installer to handle the current broken case. |