Commit Graph

864 Commits

Author SHA1 Message Date
Jörg Thalheim
c2c2ac8d2a nix: drop unused fetchpatch 2024-11-26 09:00:54 +01:00
Jörg Thalheim
45e940777e nixVersions.nix_2_19: drop 2024-11-26 09:00:52 +01:00
Jörg Thalheim
cf12b6d2b7 nixVersions.{nix_2_20,nix_2_21,nix_2_22,nix_2_23}: drop 2024-11-25 16:12:18 +01:00
Jörg Thalheim
1fb3496b1e
nixVersions.latest: set to nix 2.25 (#357056) 2024-11-23 09:45:13 +01:00
Jörg Thalheim
0705964c88
nixStatic: mark as broken on darwin (#357185) 2024-11-19 10:05:04 +01:00
Jörg Thalheim
23cd038879 nixVersions.latest: set to nix 2.25 2024-11-18 20:15:08 +01:00
Jörg Thalheim
b3d4323124 nix: remove unused paranthese/nixVersions variable 2024-11-18 20:14:16 +01:00
Jörg Thalheim
b3676d1ee1 nixVersions.nix_2_25: add missing python build dep for mdbook
Needed for
https://github.com/NixOS/nix/blob/master/doc/manual/substitute.py
2024-11-18 20:13:40 +01:00
zowoq
10a35620c9 nixVersions.nix_2_25: init at 2.25.2 2024-11-14 21:54:39 +10:00
zowoq
dd0e17573b nix: switch to darwinMinVersionHook 2024-11-12 15:16:38 +10:00
Kiara Grouwstra
cf6a8c9b4b chore: update references to nix-review to nixpkgs-review 2024-11-09 14:43:16 +01:00
Emily
3b91a81423
treewide: remove redundant patches and locks (#354215) 2024-11-09 12:57:37 +00:00
aleksana
b74fdd2386 treewide: remove redundant patches and locks
These files are no longer referenced.
2024-11-08 12:54:15 +08:00
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Jörg Thalheim
fbd1888640 re-add libsandbox
This was accidentially reverted in the previous PR.
Interestingly it seems to build without it?
Anyway. It's probably better to have it explicitly in rather than
relying in implicit behaviour of the current sdk.
2024-11-04 11:51:25 +01:00
Jörg Thalheim
caa10b055f nix: update fallback paths automatically 2024-11-04 11:51:24 +01:00
Jörg Thalheim
17c0b43ad5 nix: add script to update releases 2024-11-01 11:48:37 +01:00
Jörg Thalheim
76228da81c nixVersions.git: 2.25.0pre20240920_ca3fc169 -> 2.24.10-unstable-2024-11-01
Diff: ca3fc1693b...2e5759e377
2024-11-01 11:48:25 +01:00
Jörg Thalheim
61788950c3 nixVersions.nix_2_24: 2.24.9 -> 2.24.10
Diff: https://github.com/NixOS/nix/compare/2.24.9...2.24.10
2024-11-01 11:30:24 +01:00
Jörg Thalheim
c0b0c7f959 nixVersions.nix_2_23: 2.23.3 -> 2.23.4
Diff: https://github.com/NixOS/nix/compare/2.23.3...2.23.4
2024-11-01 11:27:44 +01:00
Jörg Thalheim
107532d664 nixVersions.nix_2_21: 2.21.4 -> 2.21.5
Diff: https://github.com/NixOS/nix/compare/2.21.4...2.21.5
2024-11-01 11:22:31 +01:00
Jörg Thalheim
381a712042 nixVersions.nix_2_20: 2.20.8 -> 2.20.9
Diff: https://github.com/NixOS/nix/compare/2.20.8...2.20.9
2024-11-01 11:19:55 +01:00
Jörg Thalheim
f99840d380 nixVersions.nix_2_19: 2.19.6 -> 2.19.7
Diff: https://github.com/NixOS/nix/compare/2.19.6...2.19.7
2024-11-01 11:17:29 +01:00
Jörg Thalheim
1b4d918680 nixVersions.nix_2_18: 2.18.8 -> 2.18.9
Diff: https://github.com/NixOS/nix/compare/2.18.8...2.18.9
2024-11-01 11:15:29 +01:00
Jörg Thalheim
181dcac3b9 Revert "nix: fix macOS sandbox escape via builtin builders"
This reverts commit 727b17fed0.
2024-11-01 10:57:24 +01:00
Jörg Thalheim
727b17fed0 nix: fix macOS sandbox escape via builtin builders
fixes
https://github.com/NixOS/nix/security/advisories/GHSA-wf4c-57rh-9pjg
2024-10-30 09:14:32 +01:00
Pol Dellaiera
d7a38a5689
nixVersions.nix_2_24: 2.24.8 -> 2.24.9 (#348038) 2024-10-13 19:36:25 +02:00
Sergei Trofimovich
8f89337132 nixVersions.nix_2_24: 2.24.8 -> 2.24.9
Changes: https://github.com/NixOS/nix/compare/2.24.8...2.24.9
2024-10-12 07:53:15 +01:00
github-actions[bot]
3997afd38f
Merge master into staging-next 2024-10-08 06:05:11 +00:00
Emily
b370a686ca treewide: use lowdown-unsandboxed where appropriate 2024-10-07 04:26:56 +01:00
Jörg Thalheim
91ea06cb60 Merge remote-tracking branch 'upstream/master' into HEAD 2024-09-26 21:04:22 +02:00
seth
0aed7f0d24 nixVersions.nix_2_18: 2.18.7 -> 2.18.8
Diff: https://github.com/NixOS/nix/compare/2.18.7...2.18.8
Fixes https://github.com/NixOS/nix/security/advisories/GHSA-6fjr-mq49-mm2c
2024-09-26 20:53:55 +02:00
github-actions[bot]
a36c24f249
Merge master into staging-next 2024-09-26 12:05:40 +00:00
Emily
c5ed6ab291
nixVersions.nix_2_24: 2.24.7 -> 2.24.8 (#344601) 2024-09-26 11:42:03 +01:00
Alyssa Ross
4e9b90969a
nixVersions.nix_2_24: 2.24.7 -> 2.24.8
Contains a couple of scary sounding fixes:

> builtin:fetchurl: Enable TLS verification
> Ensure error messages don't leak private key
2024-09-26 10:25:02 +02:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Fabián Heredia Montiel
909a1ceb58 Merge remote-tracking branch 'origin/master' into staging-next 2024-09-22 22:39:25 -06:00
Fabián Heredia Montiel
9b2a506736 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:

- pkgs/tools/package-management/nix/default.nix
2024-09-22 13:45:27 -06:00
Jörg Thalheim
30f11e43df nix: add installer test and adapt passthru tests based on the platform 2024-09-22 18:52:17 +02:00
Jörg Thalheim
e36ab64536 nix: add upgrade guide for bumping nix versions 2024-09-22 18:08:47 +02:00
Jörg Thalheim
9a94e073bf Reapply "nix: nix_2_18 -> nix_2_24"
This reverts commit b3b9bdd901.
2024-09-22 09:10:01 +02:00
Jörg Thalheim
5a9dcfd10a
nix-serve: 77ffa33d8 -> 0.0.2 (#343319)
nix-serve: make sure that we use the same perl for bindings and nix-serve
2024-09-21 17:26:29 +02:00
aleksana
4976e15021 nixVersions.git: 2.25.0pre20240910 -> 2.25.0pre20240920
Diff: b9d3cdf...ca3fc16
2024-09-20 14:40:59 +08:00
aleksana
9d6e0fcfe5 nixVersions.nix_2_18: 2.18.5 -> 2.18.7
Diff: https://github.com/NixOS/nix/compare/2.18.5...2.18.7
2024-09-20 13:31:58 +08:00
aleksana
1517e22c48 nixVersions.nix_2_24: 2.24.6 -> 2.24.7
Diff: https://github.com/NixOS/nix/compare/2.24.6...2.24.7
2024-09-20 13:30:59 +08:00
K900
b3b9bdd901 Revert "nix: nix_2_18 -> nix_2_24"
This reverts commit 2e702d07bb.

Segfaults during evaluation in yet-to-be-determined circumstances.
Investigation is ongoing, reverting for now to be safe.

Upstream issue: https://github.com/NixOS/nix/issues/11547
2024-09-19 17:17:16 +03:00
Fabián Heredia Montiel
e25a409cef
nix: 2.18 -> 2.24 (#335342) 2024-09-17 15:34:47 -06:00
Robert Hensing
be83fcde7d nix.tests.nixStatic: init
This formalizes lf-'s suggestion
https://github.com/NixOS/nixpkgs/pull/335342#issuecomment-2294899692

> nixStatic should be a hard blocker [when updating Nix]
2024-09-13 12:12:01 +02:00
Robert Hensing
131b8e5fe6 nixVersions.*: Add tests.nixpkgs-lib 2024-09-10 23:20:48 +02:00