Commit Graph

3546 Commits

Author SHA1 Message Date
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
Jörg Thalheim
58b379f8c4 nix-serve: pin nix 2.24 2024-09-20 15:54:08 +02:00
Jörg Thalheim
9625766c32
Nix minor version bump (#343187) 2024-09-20 12:26:37 +02:00
Jörg Thalheim
eb678b4772
nix-serve: unstable-2018-03-20 → unstable-2024-09-17 (#342714) 2024-09-20 12:04:08 +02:00
Fabián Heredia Montiel
13f5638a32 nix-serve: unstable-2018-03-20 → unstable-2024-09-17 2024-09-20 10:59:59 +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
Artturin
0d225baf85
comma: 1.8.0 -> 1.9.0 (#342924) 2024-09-20 03:53:53 +03:00
h7x4
9a6c76c4af
treewide: remove unused inputs (#342672) 2024-09-19 20:36:18 +02: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
R. Ryantm
049a9ee03f comma: 1.8.0 -> 1.9.0 2024-09-19 01:54:40 +00:00
Robert Hensing
504bb13273 nix-serve.nix: Add 2024-09-18 13:42:35 +02:00
Peder Bergebakken Sundt
8c8c27bb19 treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
Fabián Heredia Montiel
e25a409cef
nix: 2.18 -> 2.24 (#335342) 2024-09-17 15:34:47 -06:00
R. Ryantm
c73fab3d8b dnf5: 5.2.5.0 -> 5.2.6.0 2024-09-15 04:03:28 +00: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
Nick Cao
4c13683f51
pdm: 2.18.1 -> 2.18.2 (#341125) 2024-09-11 08:29:47 -04:00
R. Ryantm
9b9eefe6be pdm: 2.18.1 -> 2.18.2 2024-09-11 00:21:02 +00:00
Weijia Wang
9635cd70ee
librepo: 1.18.0 -> 1.18.1 (#336487) 2024-09-11 01:48:40 +02:00
Jörg Thalheim
12829a17fd nix-doc: disable nix-doc 2024-09-10 23:23:55 +02:00
Robert Hensing
131b8e5fe6 nixVersions.*: Add tests.nixpkgs-lib 2024-09-10 23:20:48 +02:00
Robert Hensing
2e702d07bb nix: nix_2_18 -> nix_2_24 2024-09-10 23:20:48 +02:00
Robert Hensing
4584a58c0d nix.stable.tests.nix-fallback-paths: Allow cross-compiled store path name
Nix 2.24 has a riscv5-linux path that's cross-compiled
e.g. nix-riscv64-unknown-linux-gnu-2.24.2
2024-09-10 23:20:47 +02:00
lassulus
12143360d0
nix 2.24 bump (#341007) 2024-09-10 17:24:55 +01:00
Jörg Thalheim
74787857f8 nixVersions.git: disable test on aarch64-linux 2024-09-10 17:39:30 +02:00
Jörg Thalheim
9103a4d978 nixVersions.git: 2.25.0pre20240807 -> 2.25.0pre20240910 2024-09-10 17:39:30 +02:00
R. Ryantm
d6bedef965 nfpm: 2.39.0 -> 2.40.0 2024-09-10 14:06:40 +00:00
Jörg Thalheim
3986d6976b nixVersions.nix_2_24: 2.24.5 -> 2.24.6 2024-09-10 15:09:24 +02:00
Jörg Thalheim
dfaef71403 Revert "nixVersions.nix_2_24,git: mark vulnerable"
This reverts commit 4eee59973a.
2024-09-10 15:07:00 +02:00
Jörg Thalheim
b576c486ef Revert "nixVersions.git: improve error message"
This reverts commit 757e0a34b7.
2024-09-10 15:06:51 +02:00
Robert Hensing
757e0a34b7 nixVersions.git: improve error message 2024-09-09 18:07:17 -07:00
Robert Hensing
4eee59973a nixVersions.nix_2_24,git: mark vulnerable 2024-09-09 18:07:17 -07:00
Weijia Wang
9726581363
akku: 1.1.0 -> 1.1.0-unstable-2024-03-03 (#339857) 2024-09-08 22:08:27 +02:00
Konstantin Astafurov
5fbe9b6e91 akku: 1.1.0 -> 1.1.0-unstable-2024-03-03 2024-09-07 12:06:49 -04:00
Adam C. Stephens
3764d70f8f
nix-update-source: 0.6.3 -> 0.7.0 (#340228) 2024-09-07 08:20:46 -04:00
Tim Cuthbertson
c25ca88556 nix-update-source: 0.6.3 -> 0.7.0 2024-09-07 10:45:56 +10:00
Emily
06587a2e69 nixVersions.nix_2_24: 2.24.4 -> 2.24.5
Fixes an [annoying macOS regression].

[annoying macOS regression]: https://github.com/NixOS/nix/issues/11387

Diff: https://github.com/NixOS/nix/compare/2.24.4...2.24.5
2024-09-05 17:00:48 +01:00
Peder Bergebakken Sundt
ebc2389134 treewide: remove refs/tags/ from github release meta.changelog urls
diff of `jq <packages.json 'to_entries[]|"\(.key) \(.value.meta.changelog)"' -r`:

https://gist.github.com/pbsds/49b2e2ae5c9b967a0972bbc3c2597c12
2024-08-29 22:45:00 -04:00
Martin Weinelt
9c50de8b57
tree-wide: remove eelco as maintainer from things he no longer maintains (#336287) 2024-08-26 20:39:56 +02:00
rewine
cf12160793
pacman: fix scripts (#335433) 2024-08-26 21:45:28 +08:00
tomberek
7f7df390e6
Merge pull request #335672 from tomberek/tomberek.nixos_test
nixosTest.nix-upgrade: init
2024-08-25 17:48:39 -04:00
Sergei Trofimovich
f07a6bdc73 nixVersions.nix_2_24: 2.24.3 -> 2.24.4
Changes: https://github.com/NixOS/nix/compare/2.24.3...2.24.4
2024-08-25 15:54:04 +02:00