aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-28Don't move the arguments of the primOpAndreas Rammhold
Moving arguments of the primOp into the registration structure makes it impossible to initialize a second EvalState with the correct primOp registration. It will end up registering all those "RegisterPrimOp"'s with an arity of zero on all but the 2nd instance of the EvalState. Not moving the memory will add a tiny bit of memory overhead during the eval since we need a copy of all the argument lists of all the primOp's. The overhead shouldn't be too bad as it is static (based on the amonut of registered operations) and only occurs once during the interpreter startup.
2021-11-26Merge pull request #5665 from edolstra/repl-reset-terminalEelco Dolstra
nix repl: Reset the terminal on exceptional exits
2021-11-26nix repl: Reset the terminal on exceptional exitsEelco Dolstra
2021-11-26Merge pull request #5662 from NixOS/5259-nix-shell-with-ca-bashEelco Dolstra
Make `nix-shell` work when nixpkgs is content-addressed
2021-11-26Merge pull request #5664 from tweag/catch-exception-in-replEelco Dolstra
Catch flake-related exception type in REPL
2021-11-26Catch flake-related exception type in REPLAlex Shabalin
Closes https://github.com/NixOS/nix/issues/5656
2021-11-26Make `nix-shell` work when nixpkgs is content-addressedregnat
Fix #5259
2021-11-25Merge pull request #5384 from baloo/baloo/dns-timeoutEelco Dolstra
preloadNSS / dns timeout
2021-11-25Merge pull request #5603 from obsidiansystems/recursive-nix-system-featureEelco Dolstra
"recursive-nix" system feature only with experimental feature
2021-11-25Merge pull request #5648 from edolstra/list-iterEelco Dolstra
Support range-based for loop over list values
2021-11-25Update namesEelco Dolstra
2021-11-25Merge pull request #5654 from NixOS/pure-file-access-error-messageEelco Dolstra
Fix the error when accessing a forbidden path in pure eval
2021-11-25Support range-based for loop over list valuesEelco Dolstra
2021-11-25Merge pull request #5653 from edolstra/fix-flake-checksEelco Dolstra
flake.nix: Only have checks.*.dockerImage on supported systems
2021-11-25Fix the error when accessing a forbidden path in pure evalregnat
If we’re in pure eval mode, then tell that in the error message rather than (wrongly) speaking about restricted mode. Fix https://github.com/NixOS/nix/issues/5611
2021-11-25flake.nix: Only have checks.*.dockerImage on supported systemsEelco Dolstra
2021-11-25Merge pull request #5644 from tweag/fix-interrupted-data-raceEelco Dolstra
Fix a minor data race with _isInterrupted
2021-11-24Merge pull request #5631 from Infinisil/list-compareEelco Dolstra
Make lists be comparable
2021-11-24Fix a minor data race with _isInterruptedAlex Shabalin
2021-11-24nix flake check: Fix markdownEelco Dolstra
2021-11-24Make lists be comparableSilvan Mosberger
Makes lists comparable using lexicographic comparison. Increments builtins.langVersion in order for this change to be detectable
2021-11-24Merge pull request #5636 from tweag/fix-use-after-freeEelco Dolstra
Fix use after free in content-address.cc
2021-11-24Merge pull request #5632 from NixOS/downloadable-docker-imageEelco Dolstra
Make docker image downloadable in Hydra UI
2021-11-24Merge remote-tracking branch 'origin/master' into downloadable-docker-imageRok Garbas
2021-11-24Add dockerImage to the checksRok Garbas
2021-11-24Don't copy, to reduce store sizeRok Garbas
2021-11-23"recursive-nix" system feature only with experimental featureJohn Ericson
2021-11-23Fix use after free in content-address.ccAlex Shabalin
Inspired by https://github.com/NixOS/nix/pull/5599
2021-11-23Merge pull request #5634 from px-ben/fix-perl-bindings-store-dirEelco Dolstra
Add missing Nix::Store import to fix nix-serve StoreDir.
2021-11-23Add missing Nix::Store import to fix nix-serve StoreDir.Ben Radford
2021-11-23Make docker image downloadable in Hydra UIRok Garbas
2021-11-23Merge pull request #5628 from matthewbauer/rosetta2-new-pathEelco Dolstra
Set new rosetta 2 path in sandbox
2021-11-23Merge pull request #5630 from ↵Eelco Dolstra
NixOS/dependabot/github_actions/cachix/install-nix-action-16 Bump cachix/install-nix-action from 15 to 16
2021-11-22Bump cachix/install-nix-action from 15 to 16dependabot[bot]
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 15 to 16. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v15...v16) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22Set new rosetta 2 path in sandboxMatthew Bauer
see: https://github.com/NixOS/nix/pull/5388 and https://github.com/NixOS/nix/pull/5251
2021-11-22Merge pull request #5624 from rofrol/typo-single-quoteEelco Dolstra
Typo: change to normal single quote
2021-11-22Merge pull request #5626 from jtojnar/patch-2Eelco Dolstra
flake: Do not use aliases
2021-11-22flake: Do not use aliasesJan Tojnar
gmock is not available with `nixpkgs.config.allowAliases = false`.
2021-11-22Merge pull request #5613 from tomberek/allow_realpathEelco Dolstra
add real path to allowedPaths
2021-11-22Merge pull request #5620 from alyssais/waylandEelco Dolstra
nix-shell --pure: let variables for Wayland through
2021-11-22Merge pull request #5596 from SuperSandro2000/shellcheckEelco Dolstra
Apply some shellcheck suggestions
2021-11-22Merge pull request #5608 from tweag/fix-build-warnings-on-macosThéophane Hufschmitt
Fix build warnings on MacOS
2021-11-22Unify #if linuxAlex Shabalin
2021-11-22Typo: change to normal singlequoteRoman Frołow
2021-11-21nix-shell --pure: let variables for Wayland throughAlyssa Ross
We let DISPLAY (X11) through, so we should let the Wayland equivalents through as well. Similarly, we let HOME through, so it should be okay to allow XDG_RUNTIME_DIR (which is needed for connecting to Wayland with WAYLAND_DISPLAY) through as well. Otherwise graphical applications will either fall back to X11 (if they support it), or just not work (if they don't).
2021-11-20add real path to allowedPathsTom Bereknyei
2021-11-19Fix build warnings on MacOSAlex Shabalin
2021-11-19Apply some shellcheck suggestionsSandro Jäckel
2021-11-19Merge pull request #5607 from kmt-lnh/install-ergonomicsEelco Dolstra
curl usage in install script in sync with instructions
2021-11-19Merge pull request #5597 from edolstra/remove-old-scriptsEelco Dolstra
Remove nix-reduce-build and nix-http-export