Alexander Sosedkin
b73a1c0638
Document libcpuid dependency
2021-11-28 00:52:35 +01:00
Alexander Sosedkin
33a227503a
Document libsodium, which is now mandatory, as a dependency
2021-11-27 23:11:11 +01:00
Aleksey Kladov
1d5a881da5
Fix typo
2021-11-27 23:29:48 +03:00
regnat
3a0277305a
Don’t try to complete flakes is the feature isn’t enabled
...
Fix #5661
2021-11-26 16:56:51 +01:00
Tom Bereknyei
152e3cda0c
reproducibility: determinstic man page output for cores
2021-11-26 10:55:43 -05:00
Eelco Dolstra
55275fcc59
Merge pull request #5665 from edolstra/repl-reset-terminal
...
nix repl: Reset the terminal on exceptional exits
2021-11-26 14:21:04 +01:00
Eelco Dolstra
3ef66cd23a
nix repl: Reset the terminal on exceptional exits
2021-11-26 13:10:28 +01:00
Eelco Dolstra
b653fb9ccf
Merge pull request #5662 from NixOS/5259-nix-shell-with-ca-bash
...
Make `nix-shell` work when nixpkgs is content-addressed
2021-11-26 12:47:30 +01:00
Eelco Dolstra
c18238d92a
Merge pull request #5664 from tweag/catch-exception-in-repl
...
Catch flake-related exception type in REPL
2021-11-26 12:46:59 +01:00
Alex Shabalin
6d166d19a6
Catch flake-related exception type in REPL
...
Closes https://github.com/NixOS/nix/issues/5656
2021-11-26 11:03:48 +01:00
Pamplemousse
288c252570
Documentation: alternative stdenv
for hacking
...
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
2021-11-26 10:04:56 +01:00
regnat
e588f4c655
Add a matrix of stdenvs to the flake
...
For a (currently hardcoded and limited) list of stdenvs,
make `.#$nix-${stdenvName}` correspond to a Nix built with the
corresponding stdenv.
For example, `.#nix-${clang11Stdenv}` is Nix built with clang11.
Likewise, `devShells.x86_64-linux.clang11StdenvPackages` is a development
shell for Nix with clang11, that can be used with
```shell
nix develop .#clang11StdenvPackages
```
Fix #4129
/cc @pamplemousse
2021-11-26 10:04:13 +01:00
regnat
05081bedc1
Make nix-shell
work when nixpkgs is content-addressed
...
Fix #5259
2021-11-26 09:56:48 +01:00
Eelco Dolstra
5fcf7f04a9
Merge pull request #5384 from baloo/baloo/dns-timeout
...
preloadNSS / dns timeout
2021-11-25 17:37:53 +01:00
Eelco Dolstra
d5d0621250
Merge pull request #5603 from obsidiansystems/recursive-nix-system-feature
...
"recursive-nix" system feature only with experimental feature
2021-11-25 17:20:58 +01:00
Eelco Dolstra
6f46434f32
Merge pull request #5648 from edolstra/list-iter
...
Support range-based for loop over list values
2021-11-25 17:13:25 +01:00
Eelco Dolstra
986906e687
Update names
2021-11-25 17:09:11 +01:00
Eelco Dolstra
1d2dbbb977
Merge pull request #5654 from NixOS/pure-file-access-error-message
...
Fix the error when accessing a forbidden path in pure eval
2021-11-25 16:51:26 +01:00
Eelco Dolstra
b6c8e57056
Support range-based for loop over list values
2021-11-25 16:31:39 +01:00
Eelco Dolstra
ca82967ee3
Merge pull request #5653 from edolstra/fix-flake-checks
...
flake.nix: Only have checks.*.dockerImage on supported systems
2021-11-25 15:59:42 +01:00
regnat
c47027f3a1
Fix the error when accessing a forbidden path in pure eval
...
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-25 14:48:01 +01:00
Eelco Dolstra
329b18711e
flake.nix: Only have checks.*.dockerImage on supported systems
2021-11-25 14:45:47 +01:00
Eelco Dolstra
1f7584d24c
Merge pull request #5644 from tweag/fix-interrupted-data-race
...
Fix a minor data race with _isInterrupted
2021-11-25 13:55:03 +01:00
Las Safin
8388d2c7c6
Make recursive-nix work even when not privileged
...
Before this, `setns` would fail when switching to the mount namespace,
since we did not have the privileges to do so when not root.
Closes #5360
2021-11-25 11:15:11 +00:00
Eelco Dolstra
d58f149140
Merge pull request #5631 from Infinisil/list-compare
...
Make lists be comparable
2021-11-24 15:48:05 +01:00
Alex Shabalin
2970ca18bf
Fix a minor data race with _isInterrupted
2021-11-24 14:50:08 +01:00
Eelco Dolstra
884674a8e2
nix flake check: Fix markdown
2021-11-24 13:53:09 +01:00
Silvan Mosberger
09471d2680
Make lists be comparable
...
Makes lists comparable using lexicographic comparison.
Increments builtins.langVersion in order for this change to be
detectable
2021-11-24 13:40:46 +01:00
Eelco Dolstra
6f4d1af971
Merge pull request #5636 from tweag/fix-use-after-free
...
Fix use after free in content-address.cc
2021-11-24 12:11:00 +01:00
Eelco Dolstra
585e97fa51
Merge pull request #5632 from NixOS/downloadable-docker-image
...
Make docker image downloadable in Hydra UI
2021-11-24 11:12:53 +01:00
Rok Garbas
7a2c88add6
Merge remote-tracking branch 'origin/master' into downloadable-docker-image
2021-11-24 09:20:05 +01:00
Rok Garbas
e7906ffd0e
Add dockerImage to the checks
2021-11-24 09:19:29 +01:00
Rok Garbas
52c84c15e5
Don't copy, to reduce store size
2021-11-24 09:18:33 +01:00
John Ericson
286eb81143
"recursive-nix" system feature only with experimental feature
2021-11-23 20:19:04 +00:00
Farid Zakaria
d41af23a6c
Fix heap use after free in progress-bar.cc
...
Fix some heap-use-after-free in progress-bar.cc
These are somewhat tricky failures here due to temporary variable
creation and string_view
2021-11-23 08:34:55 -08:00
Alex Shabalin
b26cb0c9ac
Fix use after free in content-address.cc
...
Inspired by https://github.com/NixOS/nix/pull/5599
2021-11-23 16:15:34 +01:00
Eelco Dolstra
ee5f291709
Merge pull request #5634 from px-ben/fix-perl-bindings-store-dir
...
Add missing Nix::Store import to fix nix-serve StoreDir.
2021-11-23 15:29:29 +01:00
Ben Radford
861404a87b
Add missing Nix::Store import to fix nix-serve StoreDir.
2021-11-23 12:56:19 +00:00
Rok Garbas
cd72a8c346
Make docker image downloadable in Hydra UI
2021-11-23 11:35:05 +01:00
Eelco Dolstra
dbfcaa607a
Merge pull request #5628 from matthewbauer/rosetta2-new-path
...
Set new rosetta 2 path in sandbox
2021-11-23 10:46:50 +01:00
Eelco Dolstra
394506bc10
Merge pull request #5630 from NixOS/dependabot/github_actions/cachix/install-nix-action-16
...
Bump cachix/install-nix-action from 15 to 16
2021-11-23 10:46:07 +01:00
dependabot[bot]
5be8fbd740
Bump cachix/install-nix-action from 15 to 16
...
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-22 22:01:42 +00:00
Matthew Bauer
08b1ac3e38
Set new rosetta 2 path in sandbox
...
see:
https://github.com/NixOS/nix/pull/5388
and
https://github.com/NixOS/nix/pull/5251
2021-11-22 14:42:31 -06:00
Eelco Dolstra
b367f1061c
Merge pull request #5624 from rofrol/typo-single-quote
...
Typo: change to normal single quote
2021-11-22 21:33:21 +01:00
Eelco Dolstra
f3ef2263bb
Merge pull request #5626 from jtojnar/patch-2
...
flake: Do not use aliases
2021-11-22 21:32:11 +01:00
Jan Tojnar
f68699963c
flake: Do not use aliases
...
gmock is not available with `nixpkgs.config.allowAliases = false`.
2021-11-22 17:57:30 +01:00
Eelco Dolstra
720ed47678
Merge pull request #5613 from tomberek/allow_realpath
...
add real path to allowedPaths
2021-11-22 15:10:47 +01:00
Eelco Dolstra
dcaa8dfd10
Merge pull request #5620 from alyssais/wayland
...
nix-shell --pure: let variables for Wayland through
2021-11-22 15:09:52 +01:00
Eelco Dolstra
a2c7cf9cbd
Merge pull request #5596 from SuperSandro2000/shellcheck
...
Apply some shellcheck suggestions
2021-11-22 15:02:14 +01:00
Théophane Hufschmitt
800e6e8194
Merge pull request #5608 from tweag/fix-build-warnings-on-macos
...
Fix build warnings on MacOS
2021-11-22 14:17:31 +01:00