aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-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-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
2021-03-01Add test for git+file with bare repositoryKjetil Orbekk
2021-03-01Add support for bare git repositories with git+fileKjetil Orbekk
Local git repositories are normally used directly instead of cloning. This commit checks if a repo is bare and forces a clone. Co-authored-by: Théophane Hufschmitt <regnat@users.noreply.github.com>
2021-03-01Add a test for the remote caching of CA derivationsregnat
2021-03-01Allow substituting drv outputs when buildingregnat
2021-03-01SubstitutionGoal -> PathSubstitutionGoalregnat
To prepare for the upcoming DrvOutputSubstitutionGoal
2021-03-01Merge pull request #4574 from grahamc/libstore-ssh-host-keyEelco Dolstra
libstore: support passing a builder's public SSH host key
2021-03-01Merge pull request #4582 from puckipedia/cppflagsEelco Dolstra
mk: add support for CPPFLAGS
2021-03-01Merge remote-tracking branch 'origin/ca/move-tests-to-their-own-directory'Eelco Dolstra
2021-03-01Merge pull request #4583 from puckipedia/revert-jar-supportEelco Dolstra
Revert "Add support for building JARs from Java sources"
2021-03-01Move the CA tests to a sub-directoryregnat
Requires a slight update to the test infra to work properly, but having the possibility to group tests that way makes the whole thing quite cleaner imho
2021-02-28Throw error for derivation goal with bogus wanted outputJohn Ericson
2021-02-27Merge pull request #4581 from puckipedia/fix-libseccompDomen Kožar
Properly propagate libseccomp linker flags
2021-02-27Fix testing fixed-output derivations in double sandboxesJohn Ericson
What happened was that Nix was trying to unconditionally mount these paths in fixed-output derivations, but since the outer derivation was pure, those paths did not exist. The solution is to only mount those paths when they exist.
2021-02-26Revert "Add support for building JARs from Java sources"Puck Meerburg
This reverts commit 259086de841d155f7951c2cc50f799a4631aa512.
2021-02-26Properly propagate libseccomp linker flagsPuck Meerburg
2021-02-26mk: add support for CPPFLAGSPuck Meerburg
2021-02-26simplify changing cachix cache for install testsTravis A. Everett
- convert cachix cache name from an env into a secret so it (along with the token/key) can be set once per fork - use CACHIX_AUTH_TOKEN in addition to CACHIX_SIGNING_KEY; it looks like cachix will try signing key first, then auth token.
2021-02-26Merge pull request #4570 from obsidiansystems/split-building-planningEelco Dolstra
Split {,local-}derivation-goal.{cc,hh}