Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-27 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-02-27 | nix dev-shell: Add --command option | Eelco Dolstra | |
Note: like 'nix run', and unlike 'nix-shell', this takes an argv vector rather than a shell command. So nix dev-shell -c 'echo $PATH' doesn't work. Instead you need to do nix dev-shell -c bash -c 'echo $PATH' | |||
2020-02-20 | Fix nlohmann::json exception | Eelco Dolstra | |
2020-02-20 | Restore subdir -> dir | Eelco Dolstra | |
Got this mixed up somewhere. | |||
2020-02-20 | Restore subdir support in registries | Eelco Dolstra | |
Hacky... | |||
2020-02-20 | fetchTree: Use a feature flag | Eelco Dolstra | |
2020-02-19 | Merge pull request #3325 from xzfc/clean-tmpdir | Eelco Dolstra | |
nix-shell: clean up the tmpDir and escape variables | |||
2020-02-19 | nix eval-hydra-jobs: Remove | Eelco Dolstra | |
On second thought, let's move this back to Hydra. | |||
2020-02-19 | nix-shell: clean up the tmpDir and escape variables | Albert Safin | |
The problem fixed: each nix-shell invocation creates a new temporary directory (`/tmp/nix-shell-*`) and never cleans up. And while I'm here, shellescape all variables inlined into the rcfile. See what might happen without escaping: $ export TZ="';echo pwned'" $ nix-shell -p hello --run hello pwned Hello, world! | |||
2020-02-19 | Merge pull request #3229 from Ma27/flakes-fetchgit-worktree-support | Eelco Dolstra | |
builtins.fetchGit: Fix build when fetching a git worktree | |||
2020-02-19 | builtins.fetchGit: Fix build when fetching a git worktree | Maximilian 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-19 | Merge pull request #3357 from carlosdagos/pure-nix-shell-proxy-env | Eelco Dolstra | |
Pass through http proxy env vars in pure shell | |||
2020-02-19 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-02-19 | nix eval-hydra-jobs: Add feature | Eelco Dolstra | |
2020-02-19 | Merge pull request #3353 from tbsmoest/priv_tobias_pr_set_deathsig-1.4 | Eelco Dolstra | |
Fix PR_SET_PDEATHSIG results in Broken pipe (#2395) | |||
2020-02-19 | Fix nixpkgs.<attr> warning | Eelco Dolstra | |
2020-02-18 | nix eval-hydra-jobs: Fix aggregate derivation name | Eelco Dolstra | |
2020-02-18 | nix eval-hydra-jobs: Check aggregate jobs in --dry-run mode | Eelco Dolstra | |
2020-02-18 | LocalStore::checkDerivationOutputs(): Improve error message | Eelco Dolstra | |
2020-02-18 | Disable the progress bar if $TERM == dumb or unset | Eelco Dolstra | |
Fixes #3363. | |||
2020-02-18 | Disable the progress bar if $TERM == dumb or unset | Eelco Dolstra | |
Fixes #3363. | |||
2020-02-18 | Fix URL parser | Eelco Dolstra | |
Fixes #3361. | |||
2020-02-17 | nix eval-hydra-jobs: Support job names as aggregate constituents | Eelco Dolstra | |
Fixes https://github.com/NixOS/hydra/issues/715. | |||
2020-02-17 | LocalStore::checkDerivationOutputs(): Improve error message | Eelco Dolstra | |
2020-02-17 | nix eval-hydra-job: Progress indicator | Eelco Dolstra | |
2020-02-17 | nix eval-hydra-jobs: Improve error handling | Eelco Dolstra | |
2020-02-14 | nix eval-hydra-jobs: Support flakes | Eelco Dolstra | |
2020-02-14 | nix eval-hydra-jobs: Support parallel evaluation | Eelco Dolstra | |
Example usage: $ nix eval-hydra-jobs -f '<nixpkgs/pkgs/top-level/release.nix>' '' \ --max-memory-size 2048 --workers 8 | |||
2020-02-14 | Add 'nix eval-hydra-jobs' command | Eelco Dolstra | |
2020-02-14 | Fix build | Eelco Dolstra | |
2020-02-14 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-02-14 | Fix 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-14 | Pass through http proxy env vars in pure shell | Carlos D | |
2020-02-13 | Bindings::get(): std::optional<Attr *> -> Attr * | Eelco Dolstra | |
Returning a nullable type in an optional is silly. | |||
2020-02-13 | Prevent uninitialized StorePath creation | Eelco Dolstra | |
2020-02-11 | Add fetchTree builtin function | Eelco Dolstra | |
This allows all supported fetchers to be used, e.g. builtins.fetchTree { type = "github"; owner = "NixOS"; repo = "nix"; rev = "d4df99a3349cf2228a8ee78dea320afef86eb3ba"; } | |||
2020-02-11 | Parse narHash attribute for all input types | Eelco Dolstra | |
2020-02-11 | nix path-info --json: Print hash in SRI format | Eelco Dolstra | |
2020-02-07 | nix edit: Support non-derivation attributes | Eelco Dolstra | |
E.g. $ nix edit .#nixosConfigurations.bla now works. | |||
2020-02-07 | findAlongAttrPath(): Return position | Eelco Dolstra | |
2020-02-07 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-02-07 | Fix segfault in gcc on i686-linux | Eelco 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-06 | Registry: Use attr notation instead of URLs | Eelco Dolstra | |
2020-02-05 | Warn when we commit a new revision | Eelco Dolstra | |
2020-02-05 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-02-05 | Improve commit subject line | Eelco Dolstra | |
2020-02-05 | Add option --commit-lock-file | Eelco Dolstra | |
2020-02-04 | Set 'ref' properly for local trees | Eelco Dolstra | |
2020-02-04 | Merge pull request #3344 from LnL7/ssh-ng-remote-params | Eelco Dolstra | |
ssh-store: add remote-store and remote-program query params | |||
2020-02-03 | ssh-store: add remote-store and remote-program query params | Daiderd Jordan | |
Brings the functionality of ssh-ng:// in sync with the legacy ssh:// implementation. Specifying the remote store uri enables various useful things. eg. $ nix copy --to ssh-ng://cache?remote-store=file://mnt/cache --all |