Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-12 | Undo erroneous indentation change | John Ericson | |
2020-07-12 | String .drv suffix to create derivation name | John Ericson | |
2020-07-12 | std::string_view for new derivation name parameters | John Ericson | |
2020-07-12 | BasicDerivation::findOutput cannot return reference anymore | 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-05 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
2020-07-02 | Tighten parsing for drv files and pathinfo | Carlo Nucera | |
2020-07-01 | Rename two hash constructors to proper functions | Carlo Nucera | |
2020-06-25 | Fix empty std::optional dereference in writeDerivation() | Eelco Dolstra | |
https://hydra.nixos.org/build/123017579 | |||
2020-06-24 | Merge remote-tracking branch 'upstream/master' into ca-drv | John Ericson | |
2020-06-21 | Merge remote-tracking branch 'upstream/master' into ca-drv | John Ericson | |
2020-06-21 | Don't anticipate hash algo without hash in derivation for now | John Ericson | |
When we merge with master, the new lack of string types make this case impossible (after parsing). Later, when we actually implemenent CA-derivations, we'll change the types to allow that. | |||
2020-06-21 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
2020-06-21 | Tweak declaration | John Ericson | |
I think this is clearer | |||
2020-06-21 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
multi-output-hashDerivationModulo | |||
2020-06-19 | Merge remote-tracking branch 'upstream/master' into no-hash-type-unknown | John Ericson | |
2020-06-19 | Merge remote-tracking branch 'me/no-stringly-typed-derivation-output' into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
2020-06-19 | Use designated initializers for `DerivationOutputHash` | John Ericson | |
2020-06-19 | FileSystemHash -> DerivationOutputHash | John Ericson | |
2020-06-19 | Remove some `Base::` that crept in | John Ericson | |
2020-06-18 | Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype | John Ericson | |
2020-06-18 | Merge branch 'no-hash-type-unknown' into validPathInfo-temp | John Ericson | |
2020-06-18 | Revert the `enum struct` change | John Ericson | |
Not a regular git revert as there have been many merges and things. | |||
2020-06-18 | Merge branch 'enum-class' into no-hash-type-unknown | John Ericson | |
2020-06-18 | Merge remote-tracking branch 'upstream/master' into enum-class | John Ericson | |
2020-06-17 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
no-stringly-typed-derivation-output | |||
2020-06-17 | Move some Store functions from derivations.cc to store-api.cc | John Ericson | |
This further continues with the dependency inverstion. Also I just went ahead and exposed `parseDerivation`: it seems like the more proper building block, and not a bad thing to expose if we are trying to be less wedded to drv files on disk anywas. | |||
2020-06-17 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
multi-output-hashDerivationModulo | |||
2020-06-17 | Merge remote-tracking branch 'upstream/master' into ca-drv | John Ericson | |
2020-06-16 | Remove StorePath::clone() and related functions | Eelco Dolstra | |
2020-06-15 | Merge branch 'errors-phase-2' of https://github.com/bburdette/nix | Eelco Dolstra | |
2020-06-12 | Add Store::readDerivation() convenience function | Eelco Dolstra | |
2020-06-12 | Remove Store::queryDerivationOutputNames() | Eelco Dolstra | |
This function was used in only one place, where it could easily be replaced by readDerivation() since it's not performance-critical. (This function appears to have been modelled after queryDerivationOutputs(), which exists only to make the garbage collector faster.) | |||
2020-06-03 | Use enum and predicates rather than bitfile for derivation type | John Ericson | |
2020-06-03 | Merge remote-tracking branch 'upstream/master' into ca-drv | John Ericson | |
2020-06-03 | Merge remote-tracking branch 'obsidian/no-hash-type-unknown' into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
2020-06-02 | Remove `HashType::Unknown` | John Ericson | |
Instead, `Hash` uses `std::optional<HashType>`. In the future, we may also make `Hash` itself require a known hash type, encoraging people to use `std::optional<Hash>` instead. | |||
2020-06-01 | Create new file-hash files | Carlo Nucera | |
2020-06-01 | Merge branch 'no-stringly-typed-derivation-output' of ↵ | Carlo Nucera | |
github.com:Ericson2314/nix into validPathInfo-ca-proper-datatype | |||
2020-05-29 | Merge remote-tracking branch 'upstream/master' into errors-phase-2 | Ben Burdette | |
2020-05-28 | Merge branch 'master' of github.com:NixOS/nix into enum-class | Carlo Nucera | |
2020-05-26 | Merge remote-tracking branch 'john-ericson/enum-FileIngestionMethod' into ↵ | Carlo Nucera | |
no-stringly-typed-derivation-output | |||
2020-05-26 | Merge remote-tracking branch 'origin/master' into enum-FileIngestionMethod | Carlo Nucera | |
2020-05-11 | Merge branch 'master' into errors-phase-2 | Ben Burdette | |
2020-04-21 | remove 'format' from Error constructor calls | Ben Burdette | |
2020-04-07 | Backport libfetchers from the flakes branch | Eelco Dolstra | |
This provides a pluggable mechanism for defining new fetchers. It adds a builtin function 'fetchTree' that generalizes existing fetchers like 'fetchGit', 'fetchMercurial' and 'fetchTarball'. 'fetchTree' takes a set of attributes, e.g. fetchTree { type = "git"; url = "https://example.org/repo.git"; ref = "some-branch"; rev = "abcdef..."; } The existing fetchers are just wrappers around this. Note that the input attributes to fetchTree are the same as flake input specifications and flake lock file entries. All fetchers share a common cache stored in ~/.cache/nix/fetcher-cache-v1.sqlite. This replaces the ad hoc caching mechanisms in fetchGit and download.cc (e.g. ~/.cache/nix/{tarballs,git-revs*}). This also adds support for Git worktrees (c169ea59049f861aaba429f48b828d0820b74d1d). | |||
2020-03-30 | Store parsed hashes in `DerivationOutput` | John Ericson | |
It's best to detect invalid data as soon as possible, with data types that make storing it impossible. | |||
2020-03-29 | Replace some `bool recursive` with a new `FileIngestionMethod` enum | John Ericson | |