Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-20 | Remove PrimOp constructor | Eelco Dolstra | |
2020-08-19 | Generate the nix.conf docs from the source code | Eelco Dolstra | |
This means we don't have two (divergent) sets of option descriptions anymore. | |||
2020-08-19 | Change option descriptions to Markdown | Eelco Dolstra | |
2020-08-18 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
2020-08-18 | Merge pull request #3917 from obsidiansystems/output-env-var-unconditional | Eelco Dolstra | |
Simplify code as output env vars are unconditional | |||
2020-08-14 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-14 | Merge pull request #3875 from obsidiansystems/new-interface-for-path-pathOpt | Eelco Dolstra | |
Offer a safer interface for path and pathOpt | |||
2020-08-14 | Merge pull request #3899 from obsidiansystems/make-narHash-not-optional | Eelco Dolstra | |
Make narHash in ValidPathInfo not optional | |||
2020-08-11 | Simplify code as output env vars are unconditional | John Ericson | |
Since the jsonObject unique ptr is reset to flush the string to make `__json`, all these `!jsonObject` conditions will always be true. | |||
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 | Merge branch 'master' of github.com:NixOS/nix into ↵ | Carlo Nucera | |
new-interface-for-path-pathOpt | |||
2020-08-05 | Merge branch 'master' of github.com:NixOS/nix into make-narHash-not-optional | Carlo Nucera | |
2020-08-05 | Remove optionality in ValidPathInfo::narInfo | Carlo Nucera | |
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-08-01 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
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 branch 'misc-ca' of github.com:obsidiansystems/nix into ↵ | Carlo Nucera | |
new-interface-for-path-pathOpt | |||
2020-07-28 | Use the new interface | Carlo Nucera | |
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 ↵ | Carlo Nucera | |
derivation-header-include-order |