aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-27Release shared lock before acquiring exclusive lockNaïm Favier
In principle, this should avoid deadlocks where two instances of Nix are holding a shared lock on big-lock and are both waiting to get an exclusive lock. However, it seems like `flock(2)` is supposed to do this automatically, so it's not clear whether this is actually where the problem comes from.
2022-12-15Merge pull request #7465 from edolstra/impure-derivations-dry-runEelco Dolstra
Fix a crash in DerivedPath::Built::toJSON() with impure derivations
2022-12-15Fix a crash in DerivedPath::Built::toJSON() with impure derivationsEelco Dolstra
The use of 'nullptr' here didn't result in a null JSON value, but in a nullptr being cast to a string, which aborts.
2022-12-14Merge pull request #7458 from ncfavier/disable-build-usersEelco Dolstra
Allow disabling build users by unsetting `build-users-group`
2022-12-14Allow disabling build users by unsetting `build-users-group`Naïm Favier
Unsetting `build-users-group` (without `auto-allocate-uids` enabled) gives the following error: ``` src/libstore/lock.cc:25: static std::unique_ptr<nix::UserLock> nix::SimpleUserLock::acquire(): Assertion `settings.buildUsersGroup != ""' failed. ``` Fix the logic in `useBuildUsers` and document the default value for `build-users-group`.
2022-12-13Merge pull request #7456 from ncfavier/fix-linksEelco Dolstra
doc: fix links
2022-12-13Merge pull request #7455 from rapenne-s/documentation_fixEelco Dolstra
Add anchors and links to definition
2022-12-13Merge pull request #4543 from obsidiansystems/indexed-store-path-outputsEelco Dolstra
Low level `<drvPath>^<outputName>` installable syntax to match existing `<highLevelInstallable>^<outputNames>` syntax
2022-12-13doc: fix linksNaïm Favier
2022-12-13documentation: use sections instead of list itemsSolène Rapenne
2022-12-13documentation: link flake URL term to definitionSolène Rapenne
2022-12-13documentation: fix link to definitionSolène Rapenne
2022-12-13Merge pull request #7454 from tweag/build-no-gc-in-hydraEelco Dolstra
Build Nix with the GC disabled in hydra
2022-12-13Build Nix with the GC disabled in hydraThéophane Hufschmitt
Make sure that it still compiles as it's easy to accidentally break one of the `#if` guarded clauses
2022-12-13Merge pull request #6741 from Mindavi/nix-no-gcThéophane Hufschmitt
support building with --enable-gc=no
2022-12-12Merge branch 'indexed-store-path-outputs' of github.com:obsidiansystems/nix ↵John Ericson
into indexed-store-path-outputs
2022-12-12Merge remote-tracking branch 'upstream/master' into indexed-store-path-outputsJohn Ericson
2022-12-12Fix typos in the docs John Ericson
Thanks! Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-12-12Merge remote-tracking branch 'upstream/master' into indexed-store-path-outputsJohn Ericson
2022-12-12Merge new tests into `build.sh`John Ericson
2022-12-12Adjust docsJohn Ericson
2022-12-12support building with --enable-gc=noRick van Schijndel
Some minor changes fixing the build without boehm. Fixes NixOS#6250
2022-12-12Improve release notesJohn Ericson
2022-12-12Apply suggestions from code reviewJohn Ericson
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2022-12-12Merge pull request #7334 from chaoflow/stack-trace-orderValentin Gagarin
Show stack trace above error message with innermost first
2022-12-12Simplify loop, feedback from @tfc and @Ericson2314Florian Friesdorf
2022-12-12Fix stack context notes to not rely on orderJohn Ericson
Make everything be in the form "while ..." (most things were already), and in particular *don't* use other propositions that must go after or before specific "while ..." clauses to make sense.
2022-12-12Show stack trace above error messageFlorian Friesdorf
Save developers from scrolling by displaying the error message last, below the stack trace.
2022-12-12Don't reverse stack trace when showingFlorian Friesdorf
When debugging nix expressions the outermost trace tends to be more useful than the innermost. It is therefore printed last to save developers from scrolling.
2022-12-12Merge pull request #7436 from edolstra/enable-lang-testsEelco Dolstra
Enable some language tests that were accidentally disabled
2022-12-12Merge pull request #5420 from bew/allow-disable-global-registryThéophane Hufschmitt
Allow to disable global flake-registry with ""
2022-12-12Fix reference to test directory pathEelco Dolstra
2022-12-12Fix unused variable warningEelco Dolstra
2022-12-12Enable some language tests that were accidentally disabledEelco Dolstra
This didn't run because the corresponding .exp file didn't exist.
2022-12-12Allow to disable global flake-registry with ""Benoit de Chezelles
2022-12-12Merge pull request #7448 from edolstra/remove-auto-assignEelco Dolstra
Remove auto assign
2022-12-12Merge pull request #7423 from edolstra/legacy-cli-flakesEelco Dolstra
Support flake references in the old CLI
2022-12-12Add docs from the lazy-trees branchEelco Dolstra
2022-12-12Add links to the manualEelco Dolstra
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-12-12Support flake references in the old CLIEelco Dolstra
Fixes #7026.
2022-12-12Move isUri() and resolveUri() out of filetransfer.ccEelco Dolstra
These are purely related to NIX_PATH / -I command line parsing, so put them in libexpr.
2022-12-12Merge pull request #7421 from edolstra/lazy-trees-trivial-changesEelco Dolstra
Trivial changes from the lazy-trees branch
2022-12-12Merge branch 'master' into indexed-store-path-outputsJohn Ericson
2022-12-12Remove auto assignEelco Dolstra
2022-12-12Tweak NIX_PATH descriptionEelco Dolstra
2022-12-12-I description: Use -I examplesEelco Dolstra
2022-12-12Fix indentationEelco Dolstra
2022-12-12Use get_ptr()Eelco Dolstra
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
2022-12-12Manual improvementsEelco Dolstra
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-12-12CleanupEelco Dolstra