aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-02Inline and simplify in parseAnyPrefixedCarlo Nucera
2020-07-02Rename fromSRI to parseSRI for constistencyCarlo Nucera
2020-07-02Get rid of the std::pairCarlo Nucera
2020-07-02Inline newFunctionCarlo Nucera
2020-07-02Fix test suiteCarlo Nucera
2020-07-01Rename two hash constructors to proper functionsCarlo Nucera
2020-07-01Inline Hash::init()Carlo Nucera
2020-07-01Remove unused importCarlo Nucera
2020-07-01Keep the previous name, for diffingCarlo Nucera
2020-07-01Correct FIXMEs in libfetchersCarlo Nucera
2020-07-01Fixed build, we still have test errorsCarlo Nucera
2020-06-30WIP initial designCarlo Nucera
2020-06-30Factor the prefix splitting in hashCarlo Nucera
2020-06-30Factor the prefix splitting in content-addressCarlo Nucera
2020-06-30Create the spitPrefix function in parser.hhCarlo Nucera
2020-06-29Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into ↵John Ericson
better-ca-parse-errors
2020-06-29Merge remote-tracking branch 'upstream/master' into hash-always-has-typeJohn Ericson
2020-06-29Merge pull request #3729 from obsidiansystems/simpler-hased-mirrorEelco Dolstra
hashed-mirrors: Use parsed derivation output rather than reconstructing it
2020-06-29Merge pull request #3749 from rodarima/masterEelco Dolstra
Fall back to copyPath if link fails with EPERM
2020-06-28Merge pull request #3758 from ↵Domen Kožar
NixOS/dependabot/github_actions/cachix/install-nix-action-v10 Bump cachix/install-nix-action from v8 to v10
2020-06-28Bump cachix/install-nix-action from v8 to v10dependabot[bot]
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from v8 to v10. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v8...63cf434de4e4292c6960639d56c5dd550e789d77) Signed-off-by: dependabot[bot] <support@github.com>
2020-06-28Merge pull request #3757 from Mic92/dependabotDomen Kožar
dependabot: automatically keep github actions up-to-date
2020-06-27dependabot: automatically keep github actions up-to-dateJörg Thalheim
2020-06-25build-remote.sh: Test LegacySSHStoreEelco Dolstra
2020-06-25Fix empty std::optional dereference in writeDerivation()Eelco Dolstra
https://hydra.nixos.org/build/123017579
2020-06-25Fall back to copyPath if link fails with EPERMRodrigo
BeeGFS doesn't allow hard-links and returns EPERM, so we fall back to copyPath. See https://github.com/NixOS/nix/issues/3748
2020-06-24Merge pull request #3739 from Mic92/curlDomen Kožar
docs/installer: add correct curl flags
2020-06-23docs/installer: add correct curl flagsJörg Thalheim
also see https://nixos.org/download.html
2020-06-23Fix test suiteCarlo Nucera
2020-06-23Fix and clean up hash parserJohn Ericson
2020-06-23Merge remote-tracking branch 'upstream/master' into hash-always-has-typeJohn Ericson
2020-06-23Merge pull request #3724 from bburdette/hintfmt-percentEelco Dolstra
Hintfmt percent test, and fix
2020-06-22Improve content address parsingJohn Ericson
- Ensure hash is in form <algo>-<prefix> and not SRI. - Better errors if something goes wrong - string_view for no coppying
2020-06-22with normaltxt, elide yellow color code instead of canceling it; use ↵Ben Burdette
normaltxt on plain_string hintfmt
2020-06-22Update src/libutil/fmt.hhBen Burdette
Co-authored-by: John Ericson <git@JohnEricson.me>
2020-06-22hashed-mirrors: Use parsed derivation output rather than reconstructing itJohn Ericson
Now the derivation outputs are parsed up front, we can avoid a reparse by doing it. Also, this just feels a bit better as the `output*` env vars are more of a `libnixexpr` interface than `libnixstore` interface: ultimately, it's the derivation outputs that decide whether the derivation is fixed-output. Yes, hashed mirrors might go away with #3689, but this bit of code would be moved rather than deleted, so it's worth doing a cleanup anyways I think.
2020-06-22Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into ↵Carlo Nucera
hash-always-has-type
2020-06-22More bug fixingCarlo Nucera
2020-06-22Merge pull request #3649 from obsidiansystems/validPathInfo-ca-proper-datatypeEelco Dolstra
ValidPathInfo: make ca field a proper datatype
2020-06-19tidying upBen Burdette
2020-06-19fmt -> hintfmt testBen Burdette
2020-06-19remove formathelperBen Burdette
2020-06-19WIP: Make Hash always store a valid hash typeJohn Ericson
2020-06-19escape percentsBen Burdette
2020-06-19too few, too many argsBen Burdette
2020-06-19add hintfmt testBen Burdette
2020-06-19WIP bug fixingCarlo Nucera
2020-06-19WIP: Make Hash always store a valid hash typeJohn Ericson
2020-06-19Merge remote-tracking branch 'upstream/master' into ↵John Ericson
validPathInfo-ca-proper-datatype
2020-06-19Merge pull request #3650 from obsidiansystems/no-hash-type-unknownEelco Dolstra
Remove `HashType::htUnknown`