Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2017-07-14 | Cleanup and more specificity around set -e | Graham Christensen | 1 | -3/+5 | |
2017-07-14 | Only clean if the file exists | Graham Christensen | 1 | -2/+4 | |
2017-07-14 | Clean up nix hints from the old insstaller | Graham Christensen | 1 | -3/+7 | |
2017-07-14 | Run nix-build inside a fresh bash login | Graham Christensen | 1 | -1/+6 | |
2017-07-14 | chmod | Graham Christensen | 1 | -0/+0 | |
2017-07-14 | Test the installer | Graham Christensen | 2 | -0/+78 | |
2017-07-14 | Address feedback around printf & exec | Graham Christensen | 2 | -2/+2 | |
2017-07-14 | Don't install a second nix after the initial installation, and the rsync ↵ | Graham Christensen | 1 | -4/+1 | |
change fixes a bug hidden by the nix replacement where the store files were being owned by the installing user due to rsync's -a implying -og. | |||||
2017-07-14 | Clean up issues around uninstall directions, and only show | Graham Christensen | 1 | -29/+77 | |
relevant directions | |||||
2017-07-14 | Prompt for sudo before validating assumptions, and check ourselves for ↵ | Graham Christensen | 1 | -25/+13 | |
root-owned files instead of making a scary warning. | |||||
2017-07-14 | multi-user install: move the profile in to the nix etc/profiles.d output | Graham Christensen | 1 | -68/+1 | |
2017-07-14 | Switch to a fancy multi-user installer on Darwin | Graham Christensen | 3 | -8/+831 | |
2017-07-14 | Shellcheck the existing installer | Graham Christensen | 1 | -1/+4 | |
2017-07-14 | nix: Show help when no arguments are given | Eelco Dolstra | 4 | -10/+14 | |
Fixes #1464. | |||||
2017-07-14 | Tarball job: Include libseccomp on Linux only | Eelco Dolstra | 1 | -2/+1 | |
2017-07-14 | Shut up a memory leak warning | Eelco Dolstra | 1 | -1/+2 | |