aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-26Fix some typosEelco Dolstra
Fixes #4671.
2021-03-25Merge pull request #4532 from abathur/macos_nixbld_idsDomen Kožar
fix nixbld user name/uid for macOS/darwin
2021-03-24Merge pull request #4650 from samueldr/fix/registry-config-dirEelco Dolstra
Use the appropriate config dir for the registry
2021-03-24Merge pull request #4663 from Stig124/stig124-1Eelco Dolstra
Added Debian-based OS's profiles
2021-03-23Added Debian-based OS's profilesNicolas Stig124 FORMICHELLA
2021-03-23Merge pull request #4603 from DavHau/davhau-improve-nix-conf-help-buildersEelco Dolstra
improve man page for nix.conf (builders)
2021-03-23Merge pull request #4646 from Ma27/support-scoped-v6Eelco Dolstra
Fix Nix to properly work with stores using a scoped IPv6 address
2021-03-23Merge pull request #4657 from ↵Eelco Dolstra
obsidiansystems/build-result-marshalling-cleanup-lighter Fix typos in the last PR #4656
2021-03-23nix.conf builders: refer to manual pageDavHau
2021-03-22Fix typos in the last PR #4656John Ericson
2021-03-22Merge pull request #4656 from ↵Eelco Dolstra
obsidiansystems/build-result-marshalling-cleanup-lighter Clean up serialization for `BuildResult`
2021-03-22Clean up serialization for `BuildResult`John Ericson
A few versioning mistakes were corrected: - In 27b5747ca7b5599768083dde5fa4d36bfbb0f66f, Daemon protocol had some version `>= 0xc` that should have been `>= 0x1c`, or `28` since the other conditions used decimal. - In a2b69660a9b326b95d48bd222993c5225bbd5b5f, legacy SSH gated new CAS info on version 6, but version 5 in the server. It is now 6 everywhere. Additionally, legacy ssh was sending over more metadata than the daemon one was. The daemon now sends that data too. CC @regnat Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2021-03-19Use the appropriate config dir for the registrySamuel Dionne-Riel
2021-03-19tests: Test `.config` stays clean with XDG_CONFIG_HOME setSamuel Dionne-Riel
2021-03-19tests/config: Fix config test configurationSamuel Dionne-Riel
First, "XDG_CONFIG_HOME" shouldn't be named "home", as it may be confusing compared with `$HOME`, which an upcoming test will be using. Then, using a fixed location for the test is problematic. Use `$TEST_ROOT` instead.
2021-03-19ProgressBar: Respect verbosity levelEelco Dolstra
This makes its behaviour consistent with SimpleLogger.
2021-03-19Restore 'nix flake info' as a deprecated aliasEelco Dolstra
2021-03-17Merge pull request #4648 from hercules-ci/remove-unimplemented-hashAlgoOptEelco Dolstra
Remove unimplemented hashAlgoOpt
2021-03-17Remove unimplemented hashAlgoOptRobert Hensing
It was in the header but never implemented.
2021-03-16Fix Nix to properly work with stores using a scoped IPv6 addressMaximilian Bosch
According to RFC4007[1], IPv6 addresses can have a so-called zone_id separated from the actual address with `%` as delimiter. In contrast to Nix 2.3, the version on `master` doesn't recognize it as such: $ nix ping-store --store ssh://root@fe80::1%18 --experimental-features nix-command warning: 'ping-store' is a deprecated alias for 'store ping' error: --- Error ----------------------------------------------------------------- nix don't know how to open Nix store 'ssh://root@fe80::1%18' I modified the IPv6 match-regex accordingly to optionally detect this part of the address. As we don't seem to do anything special with it, I decided to leave it as part of the URL for now. Fixes #4490 [1] https://tools.ietf.org/html/rfc4007
2021-03-16Merge 'nix flake {info,list-inputs}' into 'nix flake metadata'Eelco Dolstra
Fixes #4613.
2021-03-16--override-input: Imply --no-write-lock-fileEelco Dolstra
Fixes #3779.
2021-03-16Merge pull request #4644 from NixOS/fix-test.mk-syntax-errorEelco Dolstra
tests/local.mk: fix missing newline escape
2021-03-16tests/local.mk: fix missing newline escapesternenseemann
Fixes syntax error introduced in 54ced9072b94515a756e1e8e76c92a42f0ccf366.
2021-03-15Merge pull request #4587 from ↵Eelco Dolstra
obsidiansystems/derivation-goal-detect-invalid-output Throw error for derivation goal with bogus wanted output
2021-03-15Merge pull request #4580 from obsidiansystems/restore-test-build-remote-ca-fixedEelco Dolstra
Restore now-working build-remote-content-addressed-fixed test
2021-03-15Merge pull request #4624 from NixOS/ca/realisation-nix-commandEelco Dolstra
Add a `nix realisation` command for working on realisations
2021-03-15Merge pull request #4618 from NixOS/ca/sign-drvoutputsEelco Dolstra
Sign the derivation outputs
2021-03-15Properly sign the unresolved drvsregnat
Don't let them inherit the signature from the parent one (because it makes no sense to do so), but re-sign them after they have been built
2021-03-15Check the signatures when copying store paths aroundregnat
Broken atm
2021-03-15pathInfoIsTrusted -> pathInfoIsUntrustedregnat
I guess the rationale behind the old name wath that `pathInfoIsTrusted(info)` returns `true` iff we would need to `blindly` trust the path (because it has no valid signature and `requireSigs` is set), but I find it to be a really confusing footgun because it's quite natural to give it the opposite meaning.
2021-03-15Add some logic for signing realisationsregnat
Not exposed anywhere, but built realisations are now signed (and this should be forwarded when copy-ing them around)
2021-03-15Merge pull request #4592 from NixOS/ca/remote-cacheEelco Dolstra
Substitute content-addressed derivations
2021-03-11fix nixbld user name/uid for macOSTravis A. Everett
2021-03-11Merge pull request #4577 from abathur/simplify_install_testsDomen Kožar
simplify changing cachix cache for install tests
2021-03-11Merge pull request #4566 from orbekk/masterEelco Dolstra
Add support for bare git repositories when using git+file
2021-03-09Add a `nix realisation` command for working on realisationsregnat
Currently only has `nix realisation info`, more to come probably
2021-03-08Merge pull request #4601 from lovesegfault/fix-4598Eelco Dolstra
nix-build: check that envCommand exists
2021-03-08Merge pull request #4614 from abathur/patch-1Eelco Dolstra
remove doc for obsolete --no-build-hook flag
2021-03-08Merge pull request #4615 from NixOS/nix-show-stats-with-nix-cmdEelco Dolstra
Make NIX_SHOW_STATS work with new-style commands
2021-03-06remove doc for obsolete --no-build-hook flagTravis A. Everett
`--no-build-hook` appears to have been removed in 25f32625e2f2a3a1e1b3a3811da82f21c3a3b880
2021-03-05Merge pull request #4606 from obsidiansystems/avoid-stringify-store-pathEelco Dolstra
Avoid some StorePath -> Path -> StorePath roundtrips
2021-03-04nix-build: set execfailBernardo Meurer
When starting a nix-shell with `-i` it was previously possible for it to silently fail in the scenario where the specified interpreter didn't exist. This happened due to the `exec` call masking the issue. With this change we enable `execfail`, which causes the script using `nix-shell` as interpreter to correctly exit with code 127. Fixes: #4598
2021-03-05Avoid some StorePath -> Path -> StorePath roundtripsJohn Ericson
There were done when StorePath was defined in Rust and there were some FFI issues. This is no longer an issue.
2021-03-04improve man page for nix.conf (builders)DavHau
2021-03-03nix repl :doc: Don't return docs for partially applied primopsEelco Dolstra
This gives misleading results for Nixpkgs functions like lib.toUpper. Fixes #4596.
2021-03-02Merge pull request #4595 from dramforever/fetcher-http-redirectEelco Dolstra
libfetchers/tarball: Lock on effectiveUrl
2021-03-02Make NIX_SHOW_STATS work with new-style commandsregnat
2021-03-02libfetchers/tarball: Lock on effectiveUrldramforever
Basically, if a tarball URL is used as a flake input, and the URL leads to a redirect, the final redirect destination would be recorded as the locked URL. This allows tarballs under https://nixos.org/channels to be used as flake inputs. If we, as before, lock on to the original URL it would break every time the channel updates.
2021-03-01Fix bad wanted output error as requestedJohn Ericson
- UsageError -> Error - include drv path too