-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Comparing changes
Open a pull request
base repository: NixOS/nix
base: 0cb81acdcc25
head repository: NixOS/nix
compare: 26aeeb7653fa
- 16 commits
- 50 files changed
- 4 contributors
Commits on Mar 30, 2020
-
Backport 'nix dev-shell' from the flakes branch
This also adds a '--profile' option to 'nix build' (replacing 'nix-env --set').
Configuration menu - View commit details
-
Copy full SHA for e1a94ad - Browse repository at this point
Copy the full SHA e1a94adView commit details
Commits on Mar 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 12556e5 - Browse repository at this point
Copy the full SHA 12556e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3166b97 - Browse repository at this point
Copy the full SHA 3166b97View commit details -
Merge pull request #3463 from Ninlives/placeholder-passAsFile
fix placeholder not substituted in passAsFile
Configuration menu - View commit details
-
Copy full SHA for d4d456c - Browse repository at this point
Copy the full SHA d4d456cView commit details -
Merge pull request #3460 from NixOS/dev-shell
Backport 'nix dev-shell' from the flakes branch
Configuration menu - View commit details
-
Copy full SHA for a754029 - Browse repository at this point
Copy the full SHA a754029View commit details
Commits on Apr 2, 2020
-
libexpr: remove unused attrError
The attrError variable is no longer used but still allocated on every call to the findAlongAttrPath function.
Configuration menu - View commit details
-
Copy full SHA for 4fc4eb6 - Browse repository at this point
Copy the full SHA 4fc4eb6View commit details
Commits on Apr 3, 2020
-
Merge pull request #3470 from andir/remove-unusued-attrError
libexpr: remove unused attrError
Configuration menu - View commit details
-
Copy full SHA for 47c568e - Browse repository at this point
Copy the full SHA 47c568eView commit details -
nix-env: Refuse to operate on a new-style profile
This prevents users from accidentally nuking their profile via nix-env. (cherry picked from commit 021634e)
Configuration menu - View commit details
-
Copy full SHA for 63fa926 - Browse repository at this point
Copy the full SHA 63fa926View commit details -
Publish a tarball containing the crates we depend on
This is needed since we no longer produce a source tarball. (cherry picked from commit bf70a04)
Configuration menu - View commit details
-
Copy full SHA for 5e7ccdc - Browse repository at this point
Copy the full SHA 5e7ccdcView commit details
Commits on Apr 5, 2020
-
Don't retry on "unsupported protocol" error
When encountering an unsupported protocol, there's no need to retry. Chances are, it won't suddenly be supported between retry attempts; error instead. Otherwise, you see something like the following: $ nix-env -i -f git://git@github.com/foo/bar warning: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1); retrying in 335 ms warning: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1); retrying in 604 ms warning: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1); retrying in 1340 ms warning: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1); retrying in 2685 ms With this change, you now see: $ nix-env -i -f git://git@github.com/foo/bar error: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1)
Configuration menu - View commit details
-
Copy full SHA for c976cb0 - Browse repository at this point
Copy the full SHA c976cb0View commit details
Commits on Apr 6, 2020
-
Merge pull request #3474 from cole-h/error-on-unsupported-protocol
Don't retry on "unsupported protocol" error
Configuration menu - View commit details
-
Copy full SHA for ebb20a5 - Browse repository at this point
Copy the full SHA ebb20a5View commit details
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
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 0cb81acdcc25...26aeeb7653fa