Commit Graph

19 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
Guilhem Saurel
e84ff8070a example-robot-data: build documentation 2024-09-18 23:26:26 +02:00
Guilhem Saurel
9d0031ed34 example-robot-data: format 2024-09-18 23:26:16 +02:00
Guilhem Saurel
1fd7006d7b example-robot-data: move to pkgs/by-name 2024-09-18 23:26:16 +02:00
Sam Willcocks
07b25b3c67 exificient: init at 1.0.7 2024-09-06 13:53:24 +01:00
Felix Albrigtsen
9f1c9a3ca4 ext4fuse: init at 0.1.3 2024-07-27 23:21:01 +02:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
OTABI Tomoya
d919897915
Merge pull request #324022 from r-ryantm/auto-update/python311Packages.f3d
python311Packages.f3d: 2.4.0 -> 2.5.0
2024-07-12 15:02:23 +09:00
aleksana
03de000c7e exhibit: use f3d with egl 2024-07-10 20:56:18 +08:00
Weijia Wang
f39881a5d9
Merge pull request #288126 from D3vil0p3r/patch-18
exe2hex: init at 1.5.2-unstable-2020-04-27
2024-07-06 00:23:18 +02:00
aleksana
504a78dcc7 exhibit: init at 1.2.0 2024-06-18 12:02:37 +08:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Samuel Tardieu
4f78d39ea1 extractpdfmark: init at 1.1.1 2024-03-10 18:40:21 +01:00
Brian McKenna
5dffe7eebf extest: init at 1.0.2 2024-03-04 19:18:20 +11:00
D3vil0p3r
e4391a5d29 exe2hex: init at 1.5.2-unstable-2020-04-27 2024-02-24 12:57:19 +01:00
D3vil0p3r
597c5d2f71 ext3grep: init at 0.10.2 2024-02-12 22:06:21 +01:00
Janik
c7429f2677
Merge pull request #259785 from 0b11stan/add-exegol
exegol: init at 4.3.1
2024-01-30 08:10:53 +01:00
Tristan Pinaudeau
d42c54bbb7 exegol: init at 4.3.1
Co-authored-by: Arne Keller <2012gdwu+github@posteo.de>
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
Co-authored-by: Janik <80165193+Janik-Haag@users.noreply.github.com>
2024-01-16 14:35:35 +01:00
octodi
4755ecfb31 exiflooter: init at 1.0.0 2024-01-07 18:33:46 +05:30