aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-19Merge pull request #3229 from Ma27/flakes-fetchgit-worktree-supportEelco Dolstra
builtins.fetchGit: Fix build when fetching a git worktree
2020-02-19builtins.fetchGit: Fix build when fetching a git worktreeMaximilian Bosch
Worktrees[1] are a feature of git which allow you to check out a ref in a different directory. While playing around with flakes I realized that git repositories in a worktree checkout break when trying to build a flake: ``` $ git worktree add ../nixpkgs-flakes nixpkgs-flakes $ cd ../nixpkgs-flakes $ nix build .#hello error: opening directory '/home/ma27/Projects/nixpkgs-flakes/.git/refs/heads': Not a directory ``` This issue has been fixed by determining with `git rev-parse --git-common-dir` where the actual `.git` directory is. Please note that this issue only exists on the `flakes` branch, fetching worktree checkouts with Nix master seems to work fine. [1] https://git-scm.com/docs/git-worktree
2020-02-19Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-02-19nix eval-hydra-jobs: Add featureEelco Dolstra
2020-02-19Use Nixpkgs 20.03Eelco Dolstra
2020-02-19TypoEelco Dolstra
2020-02-19Merge pull request #3359 from bhipple/doc/pure-evalEelco Dolstra
doc: mention how to turn on pure evaluation mode in manual
2020-02-19Merge pull request #3353 from tbsmoest/priv_tobias_pr_set_deathsig-1.4Eelco Dolstra
Fix PR_SET_PDEATHSIG results in Broken pipe (#2395)
2020-02-19Add dev outputEelco Dolstra
Necessary since we're now propagating boehm-gc.
2020-02-19Fix nixpkgs.<attr> warningEelco Dolstra
2020-02-18Remove outdated shell.nixEelco Dolstra
Looks like this got accidentally revived after 204291f0598c43b10cf20a89b49fc63624d78c7c.
2020-02-18ggRevert "Use Nixpkgs 20.03"Eelco Dolstra
This reverts commit 5921ca89f9cc6247830e92a71f7db3f1fe0c193b.
2020-02-18nix eval-hydra-jobs: Fix aggregate derivation nameEelco Dolstra
2020-02-18nix eval-hydra-jobs: Check aggregate jobs in --dry-run modeEelco Dolstra
2020-02-18Build with large config Boehm GCEelco Dolstra
2020-02-18Enable debug symbolsEelco Dolstra
2020-02-18LocalStore::checkDerivationOutputs(): Improve error messageEelco Dolstra
2020-02-18Disable the progress bar if $TERM == dumb or unsetEelco Dolstra
Fixes #3363.
2020-02-18Disable the progress bar if $TERM == dumb or unsetEelco Dolstra
Fixes #3363.
2020-02-18Use Nixpkgs 20.03Eelco Dolstra
2020-02-18Fix URL parserEelco Dolstra
Fixes #3361.
2020-02-17nix eval-hydra-jobs: Support job names as aggregate constituentsEelco Dolstra
Fixes https://github.com/NixOS/hydra/issues/715.
2020-02-17LocalStore::checkDerivationOutputs(): Improve error messageEelco Dolstra
2020-02-17nix eval-hydra-job: Progress indicatorEelco Dolstra
2020-02-17nix eval-hydra-jobs: Improve error handlingEelco Dolstra
2020-02-15Build with large config Boehm GCEelco Dolstra
2020-02-15Enable debug symbolsEelco Dolstra
2020-02-15doc: mention how to turn on pure evaluation mode in manualBenjamin Hipple
The flag is `--pure-eval`, which can be found by looking at the test suite; it should be in the notes describing the feature as well, since otherwise users may assume this is referencing something like `nix-shell --pure`.
2020-02-14nix eval-hydra-jobs: Support flakesEelco Dolstra
2020-02-14nix eval-hydra-jobs: Support parallel evaluationEelco Dolstra
Example usage: $ nix eval-hydra-jobs -f '<nixpkgs/pkgs/top-level/release.nix>' '' \ --max-memory-size 2048 --workers 8
2020-02-14Add 'nix eval-hydra-jobs' commandEelco Dolstra
2020-02-14Fix buildEelco Dolstra
2020-02-14Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-02-14Fix PR_SET_PDEATHSIG results in Broken pipe (#2395)Tobias Möst
The ssh client is lazily started by the first worker thread, that requires a ssh connection. To avoid the ssh client to be killed, when the worker process is stopped, do not set PR_SET_PDEATHSIG.
2020-02-13Bindings::get(): std::optional<Attr *> -> Attr *Eelco Dolstra
Returning a nullable type in an optional is silly.
2020-02-13Prevent uninitialized StorePath creationEelco Dolstra
2020-02-12Test narHash mismatchEelco Dolstra
2020-02-11Add fetchTree builtin functionEelco Dolstra
This allows all supported fetchers to be used, e.g. builtins.fetchTree { type = "github"; owner = "NixOS"; repo = "nix"; rev = "d4df99a3349cf2228a8ee78dea320afef86eb3ba"; }
2020-02-11Parse narHash attribute for all input typesEelco Dolstra
2020-02-11nix path-info --json: Print hash in SRI formatEelco Dolstra
2020-02-10Merge pull request #3350 from curiousleo/no-macro-useEelco Dolstra
Remove #[macro_use]
2020-02-10Remove macro_useLeonhard Markert
As of Rust 2018, macro_use is no longer required in most circumstances. I think it is generally a good idea to remove these when not needed, to stop them from polluting the crate's global namespace. https://doc.rust-lang.org/edition-guide/rust-2018/macros/macro-changes.html#macro_rules-style-macros
2020-02-07nix edit: Support non-derivation attributesEelco Dolstra
E.g. $ nix edit .#nixosConfigurations.bla now works.
2020-02-07findAlongAttrPath(): Return positionEelco Dolstra
2020-02-07Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-02-07Fix segfault in gcc on i686-linuxEelco Dolstra
src/libstore/ssh-store.cc: In constructor 'nix::SSHStore::SSHStore(const string&, const Params&)': src/libstore/ssh-store.cc:31:21: internal compiler error: Segmentation fault compress) ^ Please submit a full bug report, with preprocessed source if appropriate. https://hydra.nixos.org/build/111545609
2020-02-06Registry: Use attr notation instead of URLsEelco Dolstra
2020-02-05Warn when we commit a new revisionEelco Dolstra
2020-02-05Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-02-05Improve commit subject lineEelco Dolstra