Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-23 | Remove unused Flake::vOutputs field | Eelco Dolstra | |
2020-09-23 | Merge pull request #4052 from ujjwaljainnn/fix-typo | Domen Kožar | |
fixed typo | |||
2020-09-22 | fixed typo | ujjwal | |
2020-09-22 | RemoteStore::addCAToStore(): Don't hold connection while calling queryPathInfo() | Eelco Dolstra | |
This leads to a deadlock if we're at the connection limit. | |||
2020-09-22 | Merge pull request #4038 from maljub01/master | Eelco Dolstra | |
Add a nix.conf option for allowing a symlinked store | |||
2020-09-22 | Style fixes | Eelco Dolstra | |
2020-09-22 | Merge branch 'add-ca-to-store' of https://github.com/hercules-ci/nix | Eelco Dolstra | |
2020-09-22 | Merge pull request #4040 from OmnipotentEntity/master | Eelco Dolstra | |
Fix compatibility with nlohmann-json 3.9.1 | |||
2020-09-22 | Merge pull request #4041 from cole-h/enum-stringify | Eelco Dolstra | |
Serialize SandboxMode enum to string for JSON | |||
2020-09-22 | Silence a compiler warning in serialise.hh | regnat | |
Explicitely cast to `uint64_t` in `readNum` to avoid a "comparison between signed and unsigned" warning | |||
2020-09-21 | Bump nlohmann-json version to 3.9.1 | Michael Reilly | |
2020-09-21 | Serialize SandboxMode enum to string for JSON | Cole Helbling | |
Rather than showing an integer as the default, instead show the boolean referenced in the description. The nix.conf.5 manpage used to show "default: 0", which is unnecessarily opaque and confusing (doesn't 0 mean false, even though the default is true?); now it properly shows that the default is true. | |||
2020-09-21 | fmt.hh: Don't include boost/algorithm/string/replace.hpp | Eelco Dolstra | |
This cuts compilation time by ~49s. Issue #4045. | |||
2020-09-21 | Random header cleanup | Eelco Dolstra | |
2020-09-21 | abstractsettingtojson.hh -> abstract-setting-to-json.hh | Eelco Dolstra | |
2020-09-21 | Don't include nlohmann/json.hpp in globals.hh | Eelco Dolstra | |
This reduces compilation time by 207s. Issue #4045. | |||
2020-09-21 | Move Callback into its own header | Eelco Dolstra | |
This gets rid of the inclusion of <future> in util.hh, cutting compilation time by ~20s (CPU time). Issue #4045. | |||
2020-09-21 | Update the variable name accordingly | Marwan Aljubeh | |
2020-09-21 | Don't include <regex> in header files | Eelco Dolstra | |
This reduces compilation time by ~15 seconds (CPU time). Issue #4045. | |||
2020-09-21 | Use a better name for the config option | Marwan Aljubeh | |
2020-09-21 | Merge pull request #4035 from Ma27/url-attr | Eelco Dolstra | |
libfetchers/github: allow `url` attribute | |||
2020-09-21 | libfetchers/github: rename `url` to `host` | Maximilian Bosch | |
2020-09-21 | Document addCAToStore/addToStoreFromDump source drainage | Robert Hensing | |
Also checked that all usages satisfy the requirement and removed dead code. | |||
2020-09-21 | wopAddToStore: return ValidPathInfo | Robert Hensing | |
A ValidPathInfo is created anyway. By returning it we can save a roundtrip and we have a nicer interface. | |||
2020-09-21 | wopAddToStore: add RepairFlag | Robert Hensing | |
2020-09-21 | parseContentAddressMethodPrefix: use string_view | Robert Hensing | |
Co-authored-by: John Ericson <git@JohnEricson.me> | |||
2020-09-21 | Move FramedSink next to FramedSource | Robert Hensing | |
2020-09-21 | wopAddToStore: Throw to clarify unused refs | Robert Hensing | |
Co-authored-by: John Ericson <git@JohnEricson.me> | |||
2020-09-21 | Refactor wopAddToStore to make wopAddTextToStore obsolete | Robert Hensing | |
2020-09-21 | Overhaul wopAddToStore | Robert Hensing | |
2020-09-18 | Lint issue: replacing tabs with spaces | Marwan Aljubeh | |
2020-09-18 | Add a nix.conf option for allowing a symlinked store | Marwan Aljubeh | |
2020-09-18 | nix-prefetch-url: Add --executable flag | Bryan Richter | |
pkgs.fetchurl supports an executable argument, which is especially nice when downloading a large executable. This patch adds the same option to nix-prefetch-url. I have tested this to work on the simple case of prefetching a little executable: 1. nix-prefetch-url --executable https://my/little/script 2. Paste the hash into a pkgs.fetchurl-based package, script-pkg.nix 3. Delete the output from the store to avoid any misidentified artifacts 4. Realise the package script-pkg.nix 5. Run the executable I repeated the above while using --name, as well. I suspect --executable would have no meaningful effect if combined with --unpack, but I have not tried it. | |||
2020-09-18 | libfetchers/github: allow `url` attribute | Maximilian Bosch | |
Since 108debef6f703aa3ca1f6d6c45428880624ec6f8 we allow a `url`-attribute for the `github`-fetcher to fetch tarballs from self-hosted `gitlab`/`github` instances. However it's not used when defining e.g. a flake-input foobar = { type = "github"; url = "gitlab.myserver"; /* ... */ } and breaks with an evaluation-error: error: --- Error --------------------------------------nix unsupported input attribute 'url' (use '--show-trace' to show detailed location information) This patch allows flake-inputs to be fetched from self-hosted instances as well. | |||
2020-09-18 | nix build: find() -> get() | Eelco Dolstra | |
find() returns an iterator so "!attr" doesn't work. | |||
2020-09-17 | Move FramedSource and FramedSink, extract withFramedSink | Robert Hensing | |
2020-09-17 | Add ContentAddressMethod and parse/render it | Robert Hensing | |
2020-09-17 | Add Source.drainInto(Sink) | Robert Hensing | |
2020-09-17 | Remove redundant import | Robert Hensing | |
2020-09-17 | Typo | Robert Hensing | |
2020-09-17 | Merge pull request #3829 from obsidiansystems/remove-storetype-delegate-regStore | Eelco Dolstra | |
Remove storetype delegate reg store -- contains #3736 | |||
2020-09-17 | Merge pull request #4027 from tweag/fix-gc-of-ca-derivations | Eelco Dolstra | |
Fix garbage collection of CA derivations | |||
2020-09-17 | Fix garbage collection of CA derivations | regnat | |
Fix #4026 | |||
2020-09-17 | Remove corepkgs/unpack-channel.nix | Eelco Dolstra | |
2020-09-17 | Remove corepkgs/derivation.nix | Eelco Dolstra | |
2020-09-16 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
remove-storetype-delegate-regStore | |||
2020-09-16 | Merge branch 'document-store-options' of https://github.com/tweag/nix | Eelco Dolstra | |
2020-09-16 | Fix doc generation | Eelco Dolstra | |
2020-09-16 | builtins.toFile: Fix indentation | Eelco Dolstra | |
2020-09-16 | Remove useless exception copy | Théophane Hufschmitt | |
Co-authored-by: Eelco Dolstra <edolstra@gmail.com> |