Commit Graph

11 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
c8e3b7cf2d osgqt: init at 3.5.7 2024-09-23 16:50:38 +02:00
Nikolay Korotkiy
2d5cfa3180
osm2pgsql: 1.11.0 → 2.0.0 2024-09-19 19:44:17 +04:00
Weijia Wang
6c38abd23e
oscavmgr: init at 0.4.1 (#339627) 2024-09-09 19:17:00 +02:00
Sefa Eyeoglu
15b6601c33
oscavmgr: init at 0.4.1
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-09-07 09:25:55 +02:00
Guilhem Saurel
689d25d963 osqp-eigen: init at 0.8.1 2024-08-27 01:42:49 +02:00
mimvoid
3c54f60015 oswald: init at 4.103 2024-07-21 10:29:55 -04:00
Jean-Michaël Celerier
7459b7ce65 ossia-score: 3.2.3-3 -> 3.2.4
- Update pkgs/by-name/os/ossia-score/package.nix
- Remove unused stdenv
- Support AArch64

Co-authored-by: Rémi NICOLE <minijackson@users.noreply.github.com>
2024-07-13 12:45:45 +02:00
Minijackson
65bab2dcdb ossia-score: init at 3.2.3
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Jean-Michaël Celerier <jeanmichael.celerier@gmail.com>
Co-authored-by: Rémi NICOLE <minijackson@users.noreply.github.com>
2024-07-05 10:06:29 -04:00
Nikolay Korotkiy
a88d8e9ecb
osm2pgsql: migrate to by-name 2024-02-23 15:12:06 +04:00
Nicolas Goudry
7764416861
osc-cli: init at 1.11.0 2024-02-22 22:32:35 +01:00