forked from NixOS/nix
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] master from NixOS:master #28
Open
pull
wants to merge
8,504
commits into
VertexANVIL:master
Choose a base branch
from
NixOS:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It does not need to mutate the attrs. `const` is shallow. Avoids a const_cast in the hercules-ci-cnix-expr bindings.
autoCallFunction: accept const Bindings &
Add options uid, gid, uname, and gname to docker.nix. Setting these to e.g. 1000, 1000, "user", "user" will build an image which runs and allows using Nix as that user.
Co-authored-by: Valentin Gagarin <[email protected]>
Nix 2.25 release notes
Restore input substitution
…empt-2 Remove old make (attempt 2)
Bump version to 2.26.0
See the build failure in msys2/MINGW-packages#22499
Fix argument order in the Windows implementation of `getEnvOs`
Helps with #11841.
The existence of this attribute is assumed by the Determinate Installer packaging and maybe others.
Provide a "nix" package again
This is a bit safer than having a separate nrArgs argument.
The new package output attributes are somewhat experimental, and provided for compatibility most of all. We'll see how well this goes before the changes proposed in #6507
The API docs build is extremely noisy (#11841) and probably not many people care about it anyway. Also, they get rebuild on *every* ninja invocation which is generally a waste of time. Of course, you can still build the docs via `nix build .#nix-{internal,external}-api-docs`, which is pretty fast.
Skip tests on systems with restricted usernamespaces
lookupInFlakeCache(): Fix O(n) time lookup
installer: make sure we can always test the installer in ci and locally
EvalState::realiseContext(): Allow access to the entire closure
src/nix/flake.md describes the format of flake.lock files. Before this change, it said that the original field was “The original input specification from `flake.lock`[…]” The original input specification is in flake.nix, not flake.lock.
…tion Fix `flake.lock`/`flake.nix` mix-up
This restores evaluation caching for dirty Git workdirs.
Fixes nixpkgsLibTests.
The fingerprint calculation can be expensive (especially for dirty Git trees) so we need to cache it.
A command like `nix flake metadata` was causing about 4 calls to getWorkdirInfo(), which is slow for large repos (even when they're not dirty).
Git fetcher: Calculate a fingerprint for dirty workdirs
all those includes otherwise break linters.
packaging: move tests to passthru
Prepare nix to run with clang-tidy
…error message is properly formatted
…runs faster Since networking is disabled in these VMs, trying to talk to the default cache.nixos.org slows the test down (since it can't resolve it).
libstore: fixup unformatted uri when S3 getObject fails
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )