Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-23 | Merge pull request #4055 from tweag/link-with-gold | Eelco Dolstra | |
Use gold as the linker on Linux | |||
2020-09-23 | Use gold as the linker on Linux | regnat | |
Saves ~7s in the linking phase | |||
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 | Merge pull request #4049 from tweag/remove-signed-unsigned-warning | Eelco Dolstra | |
Silence a compiler warning in serialise.hh | |||
2020-09-22 | Merge pull request #4048 from tweag/dont-fortify-on-dev | Eelco Dolstra | |
Disable `FORTIFY_SOURCE` when compiling without optims | |||
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-22 | Disable `FORTIFY_SOURCE` when compiling without optims | regnat | |
Otherwise the build is cluttered with ``` /nix/store/fwpn2f7a4iqszyydw7ag61zlnp6xk5d3-glibc-2.30-dev/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 382 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ ``` when building with `OPTIMIZE=0` | |||
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 | Disable precompiled headers in 'nix develop' | Eelco Dolstra | |
They're still enabled in regular builds though. | |||
2020-09-21 | Merge pull request #4043 from tweag/update-lowdown | Eelco Dolstra | |
Update lowdown version | |||
2020-09-21 | Update lowdown version | regnat | |
Fix #4042 According to https://github.com/kristapsdz/lowdown/commit/8aef9e9290de22a10c14ae138257bc1c7fa8ba1f, we shouldn't need to use a fork anymore so we can switch back to upstream | |||
2020-09-21 | Merge pull request #4023 from maljub01/patch-2 | Eelco Dolstra | |
Fix the nix-daemon Mac OS SSL CA cert | |||
2020-09-21 | Merge pull request #4036 from chreekat/b/prefetch-executable | Eelco Dolstra | |
nix-prefetch-url: Add --executable flag | |||
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 | |