Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-10 | Merge branch 'small-drv-serialize-cleanup' of github.com:obsidiansystems/nix ↵ | John Ericson | |
into single-ca-drv-build | |||
2020-08-10 | Remove name parameter from `writeDerivation` | John Ericson | |
The name is now stored with the derivation itself. | |||
2020-08-07 | Squashed get CA derivations building | John Ericson | |
2020-08-07 | nix build (and others): Force re-evaluation of cached errors | Eelco Dolstra | |
Fixes #3872. This is a bit hacky. Ideally we would automatically re-evaluate the failed attribute iff we need to print the error message (so in commands like 'nix search' we wouldn't re-evaluate because we're suppressing errors). | |||
2020-08-07 | Make --no-eval-cache a global setting | Eelco Dolstra | |
2020-08-05 | Update src/libexpr/primops.cc | John Ericson | |
Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
2020-08-05 | Merge remote-tracking branch 'obsidian/misc-ca' into ↵ | John Ericson | |
derivation-primop-floating-output | |||
2020-08-05 | Sed some names to perhaps avoid conflicts | John Ericson | |
2020-08-05 | Make names more consistent | John Ericson | |
2020-08-05 | Merge remote-tracking branch 'upstream/master' into misc-ca | John Ericson | |
2020-08-05 | Merge remote-tracking branch 'upstream/master' into misc-ca | John Ericson | |
2020-08-05 | Merge pull request #3730 from obsidiansystems/better-ca-parse-errors | Eelco Dolstra | |
Improve hash parsing and errors | |||
2020-08-05 | Typo | Eelco Dolstra | |
2020-08-04 | Merge remote-tracking branch 'upstream/master' into better-ca-parse-errors | John Ericson | |
2020-07-30 | Merge branch 'master' of github.com:NixOS/nix into better-ca-parse-errors | Carlo Nucera | |
2020-07-30 | Make expectedHash optional in prim_path | Matthew Bauer | |
This fixes an error found in builtins.path that looks like: store path mismatch in (possibly filtered) path added from '/private/tmp/nix-shell.CyXViH/nix-test/filter-source/filterin' when no hash is specified | |||
2020-07-30 | unsigned long long -> uint64_t | Eelco Dolstra | |
2020-07-28 | Restore backwards-compat for current `builtins.fetchGit` | Maximilian Bosch | |
If a repo is dirty, it used to return a `rev` object with an "empty" sha1 (0000000000000000000000000000000000000000). Please note that this only applies for `builtins.fetchGit` and *not* for `builtins.fetchTree{ type = "git"; }`. | |||
2020-07-28 | Merge legacy `fetchGit`-builtin with the generic `fetchTree`-function | Maximilian Bosch | |
The original idea was to implement a git-fetcher in Nix's core that supports content hashes[1]. In #3549[2] it has been suggested to actually use `fetchTree` for this since it's a fairly generic wrapper over the new fetcher-API[3] and already supports content-hashes. This patch implements a new git-fetcher based on `fetchTree` by incorporating the following changes: * Removed the original `fetchGit`-implementation and replaced it with an alias on the `fetchTree` implementation. * Ensured that the `git`-fetcher from `libfetchers` always computes a content-hash and returns an "empty" revision on dirty trees (the latter one is needed to retain backwards-compatibility). * The hash-mismatch error in the fetcher-API exits with code 102 as it usually happens whenever a hash-mismatch is detected by Nix. * Removed the `flakes`-feature-flag: I didn't see a reason why this API is so tightly coupled to the flakes-API and at least `fetchGit` should remain usable without any feature-flags. * It's only possible to specify a `narHash` for a `git`-tree if either a `ref` or a `rev` is given[4]. * It's now possible to specify an URL without a protocol. If it's missing, `file://` is automatically added as it was the case in the original `fetchGit`-implementation. [1] https://github.com/NixOS/nix/pull/3216 [2] https://github.com/NixOS/nix/pull/3549#issuecomment-625194383 [3] https://github.com/NixOS/nix/pull/3459 [4] https://github.com/NixOS/nix/pull/3216#issuecomment-553956703 | |||
2020-07-27 | Require `ca-derivations` everywhere we create a CA derivation | John Ericson | |
"create" as in read one in from a serialized form, or build one from scratch in memory. | |||
2020-07-27 | Merge branch 'misc-ca' of github.com:obsidiansystems/nix into ↵ | John Ericson | |
derivation-primop-floating-output | |||
2020-07-27 | Merge branch 'ca-derivation-data-types' of github.com:obsidiansystems/nix ↵ | John Ericson | |
into misc-ca | |||
2020-07-27 | Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into ↵ | John Ericson | |
better-ca-parse-errors | |||
2020-07-27 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-07-27 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
optional-derivation-output-storepath | |||
2020-07-27 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-07-22 | Parse CA derivations using new output variants | John Ericson | |
We no longer need `ParsedDerivation` because everything libstore needs to know about is in the `BasicDerivation` proper. | |||
2020-07-21 | Merge remote-tracking branch 'upstream/master' into better-ca-parse-errors | John Ericson | |
2020-07-17 | Merge branch 'master' of github.com:NixOS/nix into misc-ca | Carlo Nucera | |
2020-07-17 | Merge branch 'multi-output-hashDerivationModulo' of ↵ | Carlo Nucera | |
github.com:Ericson2314/nix into misc-ca | |||
2020-07-17 | parseFlakeRef(): Only search for the top-level directory for CLI flakerefs | Eelco Dolstra | |
2020-07-16 | Merge branch 'master' of github.com:NixOS/nix into ↵ | Carlo Nucera | |
optional-derivation-output-storepath | |||
2020-07-16 | Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into ↵ | John Ericson | |
better-ca-parse-errors | |||
2020-07-16 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-07-15 | Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type | Carlo Nucera | |
2020-07-14 | EvalCache: Ignore SQLite errors | Eelco Dolstra | |
Fixes #3794. | |||
2020-07-14 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-07-13 | toStorePath(): Return a StorePath and the suffix | Eelco Dolstra | |
2020-07-13 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-07-12 | DerivationOutputExtensional -> DerivationOutputInputAddressed | John Ericson | |
Thanks @regnat for the great name. | |||
2020-07-12 | String .drv suffix to create derivation name | John Ericson | |
2020-07-12 | Set derivation name in dervationStrict | John Ericson | |
2020-07-12 | Don't improperly assume path is store path | John Ericson | |
2020-07-09 | Fix DerivationOutputExtensional name | Matthew Bauer | |
2020-07-08 | Only store hash of fixed derivation output | Matthew Bauer | |
we don’t need a full storepath for a fixedoutput derivation. So just putting the ingestion method + the hash is sufficient. | |||
2020-07-08 | Add name to BasicDerivation | Matthew Bauer | |
We always have a name for BasicDerivation, since we have a derivation store path that has a name. | |||
2020-07-06 | Merge branch 'master' of github.com:NixOS/nix into better-ca-parse-errors | Carlo Nucera | |
2020-07-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-07-02 | move showTrace to new loggerSettings | Ben Burdette | |
2020-07-02 | assert for invalid fileorigin | Ben Burdette | |