-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: NixOS/nix
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ebb20a5356af
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: NixOS/nix
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f32a9b354dd9
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 7 commits
- 37 files changed
- 1 contributor
Commits on Apr 7, 2020
-
Backport libfetchers from the flakes branch
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 (c169ea5).
1Configuration menu - View commit details
-
Copy full SHA for 462421d - Browse repository at this point
Copy the full SHA 462421dView commit details -
This fetchers copies a plain directory (i.e. not a Git/Mercurial repository) to the store (or does nothing if the path is already a store path). One use case is to pin the 'nixpkgs' flake used to build the current NixOS system, and prevent it from being garbage-collected, via a system registry entry like this: { "from": { "id": "nixpkgs", "type": "indirect" }, "to": { "type": "path", "path": "/nix/store/rralhl3wj4rdwzjn16g7d93mibvlr521-source", "lastModified": 1585388205, "rev": "b0c285807d6a9f1b7562ec417c24fa1a30ecc31a" }, "exact": true } Note the fake "lastModified" and "rev" attributes that ensure that the flake gives the same evaluation results as the corresponding Git/GitHub inputs. (cherry picked from commit 12f9379)
Configuration menu - View commit details
-
Copy full SHA for 670feb0 - Browse repository at this point
Copy the full SHA 670feb0View commit details -
Respect the narHash attribute in more input types
(cherry picked from commit a6ff66b)
Configuration menu - View commit details
-
Copy full SHA for f58a9b0 - Browse repository at this point
Copy the full SHA f58a9b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6dfa3c - Browse repository at this point
Copy the full SHA a6dfa3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26aeeb7 - Browse repository at this point
Copy the full SHA 26aeeb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd39709 - Browse repository at this point
Copy the full SHA cd39709View commit details -
Merge pull request #3459 from NixOS/fetchers
Backport libfetchers from the flakes branch
Configuration menu - View commit details
-
Copy full SHA for f32a9b3 - Browse repository at this point
Copy the full SHA f32a9b3View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff ebb20a5356af...f32a9b354dd9