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
R. Ryantm
181c0c1cef ombi: 4.43.5 -> 4.44.1 2024-07-26 18:00:06 +00:00
h7x4
12315f53ff treewide: add mainProgram 2023-11-24 21:01:03 +01:00
R. Ryantm
e4b2bd41b6 ombi: 4.39.1 -> 4.43.5 2023-08-26 02:50:24 +00:00
R. Ryantm
a728604a9f ombi: 4.35.10 -> 4.39.1 2023-05-19 04:40:15 +00:00
R. Ryantm
04aa417225 ombi: 4.22.5 -> 4.35.10 2023-02-27 08:28:01 +00:00
R. Ryantm
0b3c6edb04 ombi: 4.16.12 -> 4.22.5 2022-08-14 14:14:51 +00:00
Robert Scott
3d6c926c4f treewide/servers,shells,tools: add sourceType for more packages 2022-07-02 13:38:00 +01:00
Andrei Pampu
9cdae4a776
ombi: 4.10.2 -> 4.16.12 2022-05-12 00:33:24 +03:00
Ben Siraphob
ed863440b8
Merge pull request #163924 from OPNA2608/fix/autoPatchelfHook_isLinux 2022-03-26 16:01:56 -05:00
OPNA2608
d2f268745a treewide: autoPatchelfHook only on Linux 2022-03-23 21:37:39 +01:00
Naïm Favier
9160044f5f
treewide/makeWrapper: replace --run cd with --chdir
Lay the groundwork for switching to binary wrappers by reducing uses
of `--run` (which is not supported by `makeBinaryWrapper`).
2022-03-19 09:46:31 +01:00
Andrei Pampu
04a2e17e32
ombi: 4.3.3 -> 4.10.2 2022-02-18 00:46:07 +02:00
Woky
a2e3f0c6b4
ombi: 4.0.1468 -> 4.3.3 (#154919) 2022-01-18 18:21:43 +08:00
R. RyanTM
1b1d1499d5 ombi: 4.0.1430 -> 4.0.1468 2021-08-26 10:38:27 +00:00
Andrei Pampu
9ecc9078cd
ombi: 4.0.1345 -> 4.0.1430 2021-06-27 14:35:23 +03:00
Andrei Pampu
5d1f29f0e6
ombi: 4.0.1292 -> 4.0.1345
add fixDarwinDylibNames to fix darwin build
2021-04-28 22:43:22 +03:00
Andrei Pampu
07e70c2769
ombi: add test passthru 2021-04-01 10:34:40 +03:00
Andrei Pampu
0cda2e2cb2
ombi: init at 4.0.1292 2021-04-01 10:34:40 +03:00