- Apr 15, 2016
-
-
Eelco Dolstra authored
This allows readFile() to indicate that a file doesn't exist, and might eliminate some large string copying.
-
Eelco Dolstra authored
"verify-store" is now simply an "--all" flag to "nix verify". This flag can be used for any other store path command as well (e.g. "nix path-info", "nix copy-sigs", ...).
-
- Apr 14, 2016
-
-
Eelco Dolstra authored
Add 32bit linux clause to dev-shell
-
Eelco Dolstra authored
Handle ARM triples without an endianness suffix
-
Eelco Dolstra authored
nix-env: respect meta.outputsToInstall
-
Eelco Dolstra authored
-
Eelco Dolstra authored
For convenience, you can now say $ nix-env -f channel:nixos-16.03 -iA hello instead of $ nix-env -f https://nixos.org/channels/nixos-16.03/nixexprs.tar.xz -iA hello Similarly, $ nix-shell -I channel:nixpkgs-unstable -p hello $ nix-build channel:nixos-15.09 -A hello Abstracting over the NixOS/Nixpkgs channels location also allows us to use a more efficient transport (e.g. Git) in the future.
-
Eelco Dolstra authored
Thus, -I / $NIX_PATH entries are now downloaded only when they are needed for evaluation. An error to download an entry is a non-fatal warning (just like non-existant paths). This does change the semantics of builtins.nixPath, which now returns the original, rather than resulting path. E.g., before we had [ { path = "/nix/store/hgm3yxf1lrrwa3z14zpqaj5p9vs0qklk-nixexprs.tar.xz"; prefix = "nixpkgs"; } ... ] but now [ { path = "https://nixos.org/channels/nixos-16.03/nixexprs.tar.xz"; prefix = "nixpkgs"; } ... ] Fixes #792.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This prevents the builder from being affected by whatever the host system limits happen to be.
-
Eelco Dolstra authored
This way we don't have to put all primops in one giant file.
-
Eelco Dolstra authored
Verification is slow. Also, we really shouldn't advise users to nuke their store.
-
Eelco Dolstra authored
More spring cleaning.
-
- Apr 13, 2016
-
-
Shea Levy authored
-
- Apr 12, 2016
-
-
- Apr 11, 2016
-
-
Eelco Dolstra authored
Manifests have been superseded by binary caches for years. This also gets rid of nix-pull, nix-generate-patches and bsdiff/bspatch.
-
- Apr 10, 2016
-
-
Wout Mertens authored
Use the same logic as NixOS' profile and environment setup. Closes #414
-
Wout Mertens authored
-
wmertens authored
Just wasted a couple hours chasing shadows because the nix store got corrupted and there was no indication of that anywhere. Since an install is one-time only, might as well verify. Optimization showed that the copied files aren't read-only; fixed that as well. Also, use /bin/sh since there's a good chance that this script will be run on systems without /bin/bash
-
- Apr 08, 2016
-
-
Eelco Dolstra authored
This feature was implemented for Hydra, but Hydra no longer uses it.
-
Eelco Dolstra authored
Necessary for multi-threaded commands like "nix verify-paths".
-
- Apr 07, 2016
-
-
Eelco Dolstra authored
This specifies the number of distinct signatures required to consider each path "trusted". Also renamed ‘--no-sigs’ to ‘--no-trust’ for the flag that disables verifying whether a path is trusted (since a path can also be trusted if it has no signatures, but was built locally).
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Locally-built paths are now signed automatically using the secret keys specified by the ‘secret-key-files’ option.
-
- Apr 06, 2016
-
-
Eelco Dolstra authored
The 304 Not Modified was not handled correctly, so the empty result from the conditional request would overwrite the previous tarball.
-
- Apr 05, 2016
-
-
Eelco Dolstra authored
E.g. $ nix sign-paths -k ./secret -r $(type -p geeqie) signs geeqie and all its dependencies using the key in ./secret.
-
Eelco Dolstra authored
This imports signatures from one store into another. E.g. $ nix copy-sigs -r /run/current-system -s https://cache.nixos.org/ imported 595 signatures
-
Eelco Dolstra authored
-
- Apr 04, 2016
-
-
Eelco Dolstra authored
-
- Mar 31, 2016
-
- Mar 30, 2016
-
-
Eelco Dolstra authored
These are content-addressed paths or outputs of locally performed builds. They are trusted even if they don't have signatures, so "nix verify-paths" won't complain about them.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
In particular, this eliminates a bunch of boilerplate code.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Typical usage is to check local paths using the signatures from a binary cache: $ nix verify-paths -r /run/current-system -s https://cache.nixos.org path ‘/nix/store/c1k4zqfb74wba5sn4yflb044gvap0x6k-nixos-system-mandark-16.03.git.fc2d7a5M’ is untrusted ... checked 844 paths, 119 untrusted
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Mar 29, 2016
-
-
Eelco Dolstra authored
The flag remembering whether an Interrupted exception was thrown is now thread-local. Thus, all threads will (eventually) throw Interrupted. Previously, one thread would throw Interrupted, and then the other threads wouldn't see that they were supposed to quit.
-