aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-24tests: enable ca-derivations for simple.nix in repl testsTom Bereknyei
2022-06-15Merge branch 'master' into nix-repl-flakesTom Bereknyei
2022-06-15Apply suggestions from code reviewtomberek
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
2022-06-15Merge pull request #6615 from WhyNotHugo/man-improvementsThéophane Hufschmitt
Add disambiguation to man page
2022-06-14Merge pull request #6662 from tweag/stiky-non-flake-overridesEelco Dolstra
flake.cc: Make non-flake overrides sticky
2022-06-14Add disambiguation to man pageHugo Osvaldo Barrera
This should help future lost newcomers like myself understand where to find the docs for both of these commands and how they differ.
2022-06-13flake.cc: Make non-flake overrides stickyAlexander Bantyev
Overrides for inputs with flake=false were non-sticky, since they changed the `original` in `flake.lock`. This fixes it, by using the same locked original for both flake and non-flake inputs.
2022-06-13Merge pull request #6619 from Jonpez2/patch-1Eelco Dolstra
Add security.csm to ignored-acls
2022-06-13Merge pull request #6027 from Ma27/pure-replEelco Dolstra
repl: `--option pure-eval true` actually enables pure eval mode
2022-06-13Merge pull request #6634 from lovesegfault/fix-getgrouplistEelco Dolstra
fix(libstore/lock): support users that belong to more than 10 groups
2022-06-13Merge pull request #6639 from Artturin/checkseEelco Dolstra
install-multi-user: check if selinux is enabled and if it is then abort
2022-06-13Merge pull request #6648 from andersk/missing-rethrowEelco Dolstra
Add missing rethrows in conditional exception handlers
2022-06-13Merge pull request #6651 from ncfavier/nix-build-stop-loggerThéophane Hufschmitt
nix-build: stop logger when appropriate
2022-06-13Merge pull request #6653 from Misterio77/readd-sourcehut-regex-matchingThéophane Hufschmitt
fix sourcehut brach/tag resolving regression
2022-06-11fix sourcehut brach/tag resolving regressionGabriel Fontes
nixos/nix#6290 introduced a regex pattern to account for tags when resolving sourcehut refs. nixos/nix#4638 reafactored the code, accidentally treating the pattern as a regular string, causing all non-HEAD ref resolving to break. This fixes the regression and adds more test cases to avoid future breakage.
2022-06-11nix-build: stop logger when appropriateNaïm Favier
Reverts b944b588fa280b0555b8269c0f6d097352f8716f in `nix-build.cc`.
2022-06-11Merge pull request #6646 from YorikSar/file-impure-docThéophane Hufschmitt
Mention that -f implies --impure for eval in docs
2022-06-10Add missing rethrows in conditional exception handlersAnders Kaseorg
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-06-10Mention that -f implies --impure for eval in docsYuriy Taraday
Right now this is not mentioned anywhere and it is unexpected.
2022-06-10Merge pull request #6643 from ncfavier/fix-git-againThéophane Hufschmitt
libfetchers/git: add missing `--git-dir` flags
2022-06-10Merge pull request #6641 from NixOS/fix-docker-ci-jobThéophane Hufschmitt
Correctly get the nix version in the docker job
2022-06-10libfetchers/git: add missing `--git-dir` flagsNaïm Favier
2022-06-10Correctly get the nix version in the docker jobThéophane Hufschmitt
`defaultPackage` doesn't exist anymore, so we can't use it. Instead just use the new CLI which should be more robust to these changes Fix #6640
2022-06-10Merge pull request #6637 from sidkshatriya/small-move-optimization-2Théophane Hufschmitt
nix-env: A small std::move() optimization
2022-06-10Update docker.nixJonpez2
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2022-06-10install-multi-user: check if selinux is enabled and if it is then abortArtturin
2022-06-09nix-env: A small std::move() optimizationSidharth Kshatriya
Avoids doing a O(n) copy of Strings i.e. std::list<std::string>
2022-06-09Merge pull request #6635 from sidkshatriya/small-move-optimizationEelco Dolstra
nix-store: small std::move() optimization
2022-06-09nix-store: small std::move() optimizationSidharth Kshatriya
2022-06-08fix(libstore/lock): support users that belong to more than 10 groupsBernardo Meurer
The manpage for `getgrouplist` says: > If the number of groups of which user is a member is less than or > equal to *ngroups, then the value *ngroups is returned. > > If the user is a member of more than *ngroups groups, then > getgrouplist() returns -1. In this case, the value returned in > *ngroups can be used to resize the buffer passed to a further > call getgrouplist(). In our original code, however, we allocated a list of size `10` and, if `getgrouplist` returned `-1` threw an exception. In practice, this caused the code to fail for any user belonging to more than 10 groups. While unusual for single-user systems, large companies commonly have a huge number of POSIX groups users belong to, causing this issue to crop up and make multi-user Nix unusable in such settings. The fix is relatively simple, when `getgrouplist` fails, it stores the real number of GIDs in `ngroups`, so we must resize our list and retry. Only then, if it errors once more, we can raise an exception. This should be backported to, at least, 2.9.x.
2022-06-08Merge pull request #6630 from edolstra/boost-dylibEelco Dolstra
Remove ${boost}/lib from the RPATH
2022-06-08Update docker.nixEelco Dolstra
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2022-06-08Remove ${boost}/lib from the RPATHEelco Dolstra
2022-06-08Merge pull request #6624 from NixOS/new-flake-styleThéophane Hufschmitt
flake.nix: Convert to new naming convention
2022-06-08Merge pull request #6627 from asymmetric/key-commentEelco Dolstra
Fix missing ` in key manual
2022-06-08Fix missing ` in key manualLorenzo Manacorda
2022-06-08Add security.csm to the default ignore listJonpez2
2022-06-07Merge pull request #6618 from afishhh/search-excludeEelco Dolstra
Add `-e`/`--exclude` flag to `nix search`
2022-06-07Use `grep -c` instead of `grep|wc -l` in some `nix search` testsFishhh
2022-06-07Add tests for `--exclude` flag in `nix search`Fishhh
2022-06-07Remove redundant `std::move`s in calls to `hiliteMatches`Fishhh
2022-06-07Add `--exclude` flag to `nix search`Fishhh
If a package's attribute path, description or name contains matches for any of the regexes specified via `-e` or `--exclude` that package is excluded from the final output.
2022-06-07Merge pull request #6598 from cole-h/update-flake-for-realEelco Dolstra
flake: update to 22.05
2022-06-07Convert to new flake styleEelco Dolstra
https://github.com/NixOS/nix/issues/5532
2022-06-07Fix 22.05 eval warningsEelco Dolstra
2022-06-07Disable cross builds on platforms other than x86_64-linuxEelco Dolstra
Needed because evaluation was broken on x86_64-darwin.
2022-06-07Merge pull request #6602 from cw789/patch-2Eelco Dolstra
Explain exactly what nix-upgrade nix does
2022-06-06Add security.csm to ignored-aclsJonpez2
The security.csm ACL is, as far as I know, never reasonable to remove, so let's add it to the ignore-list in the vanilla nix image. This makes this image usable on GKE.
2022-06-05Fix incorrect comment in `hiliteMatches`Fishhh
2022-06-03Merge pull request #6603 from abathur/installer_fix_vi_swapfileEelco Dolstra
darwin-install: work around existing vim swap files