aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-20flake.nix: Switch to 20.03Eelco Dolstra
2020-03-19Register flake-registry.json as a GC root againEelco Dolstra
2020-03-19downloadFile(): Use expired file if the download failsEelco Dolstra
2020-03-18Get rid of downloadCached()Eelco Dolstra
Everything uses the generic caching system now.
2020-03-18tarball.cc: Use ETagsEelco Dolstra
2020-03-18Remove flake closure cachingEelco Dolstra
This is not compatible with lazy flake input fetching.
2020-03-18tarball / github fetchers: Use generic caching systemEelco Dolstra
2020-03-17Git: Use unified caching systemEelco Dolstra
2020-03-17Require shallow clones to be requested explicitlyEelco Dolstra
If you do a fetchTree on a Git repository, whether the result contains a revCount attribute should not depend on whether that repository happens to be a shallow clone or not. That would complicate caching a lot and would be semantically messy. So applying fetchTree/fetchGit to a shallow repository is now an error unless you pass the attribute 'shallow = true'. If 'shallow = true', we don't return revCount, even if the repository is not actually shallow. Note that Nix itself is not doing shallow clones at the moment. But it could do so as an optimisation if the user specifies 'shallow = true'. Issue #2988.
2020-03-17Unified fetcher caching systemEelco Dolstra
2020-03-16Add a test for shallow Git clonesEelco Dolstra
Also, don't return a revCount anymore for shallow or dirty Git trees, since it's incorrect. Closes #2988.
2020-03-16Fix re-running the fetchGit.sh testEelco Dolstra
2020-03-13Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-03-13Remove the 'release' jobEelco Dolstra
Unless the 'tested' job in the Nixpkgs/NixOS jobsets, this job isn't actually used for anything (e.g. we don't update a channel based on whether 'release' succeeds).
2020-03-13Build vendoredCrates in the overlayEelco Dolstra
This makes it build on non-x86_64-linux systems (needed in GitHub actions).
2020-03-13Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-03-13Merge pull request #3410 from edolstra/no-tarballEelco Dolstra
Remove the tarball job
2020-03-13Remove the tarball jobEelco Dolstra
Source tarballs are not very useful anymore. People who want to build from source can also just build from the Git repository. Once upon a time, the source tarball also saved users from needing a few dependencies (e.g. bison and flex) but those are dwarfed by the other dependencies, so it's no longer worth it. Note: the release script should be updated to copy the vendoredCrates tarball.
2020-03-13Do a deep fetchEelco Dolstra
Currently the build fails with warning: reject refs/heads/HEAD because shallow roots are not allowed to be updated error: Could not read 0c2088d4386a350f0005ff1a278d0384dbc26881 fatal: Failed to traverse parents of commit ea1803efdc288a400b544e7f1f2d83efdd2792b6 error: program 'git' failed with exit code 128
2020-03-13Run checksEelco Dolstra
2020-03-13Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-03-13Merge pull request #3409 from NixOS/github-actionsEelco Dolstra
Add CI with github actions
2020-03-13Fix macOSEelco Dolstra
2020-03-13Remove callout graphicsEelco Dolstra
Fixes #3396.
2020-03-13Remove build and binaryTarball since they're included in installerScriptEelco Dolstra
2020-03-13Add CI with github actionsDomen Kožar
2020-03-13style.css: RemoveEelco Dolstra
This file is licensed under the GPL. Originally, Nix was also GPL-licensed so that was fine. However, we later changed the license to the LGPL but missed the fact that style.css has an incompatible license. Since the Nix manual at nixos.org uses its own styling, we can remove this file. Fixes #3392.
2020-03-13mk/README.md: RemoveEelco Dolstra
The make-rules repo is not maintained.
2020-03-13Fix ca-references feature checkEelco Dolstra
Fixes #3406.
2020-03-12Change the lock file to a graphEelco Dolstra
This enables support for cycles between flakes.
2020-03-12Merge pull request #3403 from hercules-ci/issue-3398-path-info-cache-ttlsEelco Dolstra
pathInfoCache: Respect disk cache TTLs #3398
2020-03-12pathInfoCache: Respect disk cache TTLs #3398Robert Hensing
2020-03-12local.mk: fix user-env.cc dep on buildenv.nix.gen.hh, resolve occasional ↵Will Dietz
build failure
2020-03-11README, error msg: http -> httpsRobert Hensing
2020-03-11Move call-flake.nix into libexprEelco Dolstra
2020-03-11Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-03-11Move some corepkgs into the nix binaryEelco Dolstra
2020-03-11parseExprFromString(): Use std::string_viewEelco Dolstra
2020-03-11Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-03-11nixos.org/releases -> releases.nixos.orgEelco Dolstra
2020-03-10Fix flake subdirectory handlingEelco Dolstra
2020-03-10nix-store -q --graph: Fix edgesEelco Dolstra
Fixes #3389.
2020-03-10dotgraph.cc: Remove dead codeEelco Dolstra
2020-03-10nix-perl: Fix segfault in queryPathInfo)Eelco Dolstra
2020-03-09Move calling flakes into a Nix helper function (call-flake.nix)Eelco Dolstra
2020-03-09Add 'flake' attribute to lock files to denote non-flakesEelco Dolstra
2020-03-04Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-03-04nix-build: Fix !<output> handlingEelco Dolstra
This was broken by 22a754c091f765061f59bef5ce091268493bb138. https://hydra.nixos.org/eval/1573669
2020-03-04Merge branch 'emacs_lambda_indentation' of https://github.com/tbsmoest/nix-1Eelco Dolstra
2020-03-04Optimise Derivation::unparse()Eelco Dolstra
In nix-instantiate --dry-run '<nixpkgs/nixos/release-combined.nix>' -A nixos.tests.simple.x86_64-linux this reduces time spent in unparse() from 9.15% to 4.31%. The main culprit was appending characters one at a time to the destination string. Even though the string has enough capacity, push_back() still needs to check this on every call.