Commit Graph

12 Commits

Author SHA1 Message Date
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
R. Ryantm
008282d408 naps2: 7.4.2 -> 7.4.3 2024-07-07 01:22:27 +00:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Elian Doran
51b6fa9e28
naps2: 7.4.0 -> 7.4.2 2024-06-04 19:52:56 +03:00
Elian Doran
5bc4c2d436
naps2: mark as broken on aarch64 2024-04-07 11:02:32 +03:00
Elian Doran
0c7210fca7
naps2: update home page & change log 2024-04-07 11:02:07 +03:00
Elian Doran
b2916be5ff
naps2: 7.3.0 -> 7.4.0 2024-04-07 11:02:07 +03:00
Raphael Robatsch
ef5481eb37 treewide: Prevent nuget deps files from referencing SDK packages
Using dotnetCorePackages.combinePackages prevents leaking SDK
dependencies into deps.nix files.
2024-02-26 16:07:02 -04:00
Weijia Wang
e52ba80bf4
Merge pull request #281342 from r-ryantm/auto-update/naps2
naps2: 7.2.2 -> 7.3.0
2024-01-18 07:34:20 +01:00
R. Ryantm
ee2bea9791 naps2: 7.2.2 -> 7.3.0 2024-01-16 14:52:59 +00:00
Raphael Robatsch
3a0626d7fc naps2: Update framework deps
This is built with .NET 8, but some csprojs still target .NET 6.
2024-01-11 18:00:38 +01:00
Elian Doran
21468678e2 naps2: init at 7.2.2 2024-01-01 13:08:30 +02:00