Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-09 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-04-08 | datatransfer.{cc,hh} -> filetransfer.{cc,hh} | Nikola Knezevic | |
2020-04-08 | DataTransfer -> FileTransfer | Nikola Knezevic | |
2020-04-08 | actDownload -> actDataTransfer | Nikola Knezevic | |
2020-04-08 | {get,make,new}Downloader -> DataTransfer | Nikola Knezevic | |
2020-04-08 | DownloadSettings -> DataTransferSettings | Nikola Knezevic | |
2020-04-08 | Rename src/lib/download.* to src/lib/datatransfer.* | Nikola Knezevic | |
2020-04-08 | DownloadRequest -> DataTransferRequest | Nikola Knezevic | |
2020-04-08 | Merge pull request #3477 from Ninlives/nix-run-using-env | Eelco Dolstra | |
`nix run` using $SHELL as default command | |||
2020-04-07 | `nix run` using $SHELL as default command | mlatus | |
2020-04-07 | Backport libfetchers from the flakes branch | Eelco Dolstra | |
This provides a pluggable mechanism for defining new fetchers. It adds a builtin function 'fetchTree' that generalizes existing fetchers like 'fetchGit', 'fetchMercurial' and 'fetchTarball'. 'fetchTree' takes a set of attributes, e.g. fetchTree { type = "git"; url = "https://example.org/repo.git"; ref = "some-branch"; rev = "abcdef..."; } The existing fetchers are just wrappers around this. Note that the input attributes to fetchTree are the same as flake input specifications and flake lock file entries. All fetchers share a common cache stored in ~/.cache/nix/fetcher-cache-v1.sqlite. This replaces the ad hoc caching mechanisms in fetchGit and download.cc (e.g. ~/.cache/nix/{tarballs,git-revs*}). This also adds support for Git worktrees (c169ea59049f861aaba429f48b828d0820b74d1d). | |||
2020-04-06 | nix flake info: Show resolved URL | Eelco Dolstra | |
This is useful for finding out what a registry lookup resolves to, e.g $ nix flake info patchelf Resolved URL: github:NixOS/patchelf Locked URL: github:NixOS/patchelf/cd7955af31698c571c30b7a0f78e59fd624d0229 | |||
2020-04-06 | nix flake info --json: Don't evaluate | Eelco Dolstra | |
This makes its behaviour consistent with the non-json variant. Querying the outputs should be done by another command (e.g. 'nix search') | |||
2020-04-02 | nix flake info --json: Show TreeInfo | Eelco Dolstra | |
2020-04-01 | Registry: Use a struct instead of a tuple for entries | Eelco Dolstra | |
2020-04-01 | Add a system-wide flake registry /etc/nix/registry.json | Eelco Dolstra | |
One application for this is pinning the 'nixpkgs' flake to the exact revision used to build the NixOS system, e.g. { "flakes": [ { "from": { "id": "nixpkgs", "type": "indirect" }, "to": { "owner": "NixOS", "repo": "nixpkgs", "type": "github", "rev": "b0c285807d6a9f1b7562ec417c24fa1a30ecc31a" } } ], "version": 2 } | |||
2020-04-01 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-03-31 | Typo | Eelco Dolstra | |
2020-03-31 | nix shell -> nix dev-shell | Eelco Dolstra | |
2020-03-30 | Backport 'nix dev-shell' from the flakes branch | Eelco Dolstra | |
This also adds a '--profile' option to 'nix build' (replacing 'nix-env --set'). | |||
2020-03-30 | Remove global -I flags | Eelco Dolstra | |
(cherry picked from commit 2c692a3b144523bca68dd6de618124ba6c9bb332) | |||
2020-03-30 | Remove global -I flags | Eelco Dolstra | |
2020-03-30 | Move fetchers from libstore to libfetchers | Eelco Dolstra | |
2020-03-28 | nix flake info --json: Dump attr-style flakeref | Eelco Dolstra | |
2020-03-28 | nix flake info: Show flake subdirectory | Eelco Dolstra | |
2020-03-24 | Fix --refresh with --no-net | Eelco Dolstra | |
https://hydra.nixos.org/build/110879699 (cherry picked from commit 5bbe793abf18414878a069399d1759673d693fb6) | |||
2020-03-24 | nix: Add --refresh as an alias for --tarball-ttl 0 | Eelco Dolstra | |
(cherry picked from commit e721f99817bb7154d8098c902e25f84521a90b7f) | |||
2020-03-24 | nix path-info --json: Print hash in SRI format | Eelco Dolstra | |
(cherry picked from commit 442e665d6d3fcbdee7dece2f62a597142f8784b1) | |||
2020-03-24 | Pretty-print 'nix why-depends' / 'nix-store -q --tree' output | Eelco Dolstra | |
Extracted from 678301072f05b650dc15c5edb4c25f08f0d6cace. | |||
2020-03-24 | nix edit: Support non-derivation attributes | Eelco Dolstra | |
E.g. $ nix edit .#nixosConfigurations.bla now works. (cherry picked from commit d2032edb2f86e955a8a7724a27c0c3225f386500) | |||
2020-03-24 | findAlongAttrPath(): Return position | Eelco Dolstra | |
(cherry picked from commit 0b013a54dc570395bed887369f8dd622b8ce337b) | |||
2020-03-20 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-03-19 | nix repl: Put EvalState on the heap | Eelco Dolstra | |
See 0629601da1d163a059fa19004256961f8ecdeb78. | |||
2020-03-19 | nix repl: Scan NixRepl for GC roots | Eelco Dolstra | |
Fixes #3175. | |||
2020-03-18 | Remove flake closure caching | Eelco Dolstra | |
This is not compatible with lazy flake input fetching. | |||
2020-03-17 | Unified fetcher caching system | Eelco Dolstra | |
2020-03-13 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-03-12 | Change the lock file to a graph | Eelco Dolstra | |
This enables support for cycles between flakes. | |||
2020-03-12 | local.mk: fix user-env.cc dep on buildenv.nix.gen.hh, resolve occasional ↵ | Will Dietz | |
build failure | |||
2020-03-11 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-03-11 | Move some corepkgs into the nix binary | 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 | Restore subdir -> dir | Eelco Dolstra | |
Got this mixed up somewhere. | |||
2020-02-20 | Restore subdir support in registries | Eelco Dolstra | |
Hacky... | |||
2020-02-19 | nix eval-hydra-jobs: Remove | Eelco Dolstra | |
On second thought, let's move this back to Hydra. | |||
2020-02-19 | nix eval-hydra-jobs: Add feature | Eelco Dolstra | |
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 | Disable the progress bar if $TERM == dumb or unset | Eelco Dolstra | |
Fixes #3363. |