- Jul 30, 2017
-
-
Jörg Thalheim authored
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
-
- Jul 28, 2017
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Jul 27, 2017
-
-
Eelco Dolstra authored
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"; };
-
Eelco Dolstra authored
I.e. if the local ref is more recent than tarball-ttl seconds, then don't check the remote.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This prevents an expensive call to addToStore() in the cached case.
-
- Jul 26, 2017
-
-
Eelco Dolstra authored
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
-
Eelco Dolstra authored
Note that this removes the need for a derivation symlink, so the --drv-path and --add-drv-link flags now do nothing.
-
- Jul 20, 2017
-
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
$NIX_PATH may contain elements that don't evaluate to an attrset (like "nixos-config"), so ignore those.
-
Eelco Dolstra authored
BuildError denotes a permanent build failure, which is not the case here.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Jul 19, 2017
-
-
Eelco Dolstra authored
Do not try to fill fd_set with fd>=FD_SETSIZE
-
- Jul 18, 2017
-
-
Dmitry Kalinkin authored
This is UB and causes buffer overflow and crash on linux.
-
Domen Kožar authored
Update mailing list.
-
Graham Christensen authored
-
Graham Christensen authored
-
- Jul 17, 2017
-
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
In particular, this allows it to be disabled in our tests.
-
Eelco Dolstra authored
-
- Jul 16, 2017
-
-
Domen Kožar authored
use sha256 hashes in the examples
-
- Jul 15, 2017
-
-
Harmen authored
And fix a dead link.
-
- Jul 14, 2017
-
-
Eelco Dolstra authored
E.g. $ nix path-info --json --store https://cache.nixos.org nixpkgs.thunderbird -S ... "downloadHash": "sha256:1jlixpzi225wwa0f4xdrwrqgi47ip1qpj9p06fyxxg07sfmyi4q0", "downloadSize": 43047620, "closureDownloadSize": 84745960 } ]
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
Now you get [ { "path": "/nix/store/fzvliz4j5xzvnd0w5zgw2l0ksqh578yk-bla", "valid": false } ]
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
Multi-user installer for Darwin (master edition)
-
Graham Christensen authored
-
Graham Christensen authored
-
Graham Christensen authored
Also output in the status report that the user is very silly
-
Graham Christensen authored
Starve the TTY of input to ensure this works, but provide yes to the current installer to handle the current broken case.
-
Graham Christensen authored
-
Graham Christensen authored
-
Graham Christensen authored
-
Graham Christensen authored
-
Graham Christensen authored
-
Graham Christensen authored
-
Graham Christensen authored
-