Commit Graph

25 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
John Garcia
b7c06ddecb vlang: 0.4.3 -> 0.4.4 2024-01-11 12:22:42 +00:00
John Garcia
2e38c42cbb vlang: weekly.2023.44 -> 0.4.3 2023-12-06 08:30:04 +00:00
Swastik
9b7de1e642 vlang: add delta231 as maintainer 2023-11-06 21:52:27 +05:30
Swastik
3f269391c5 vlang: 2023.42 -> 2023.44 2023-11-06 21:46:22 +05:30
Jeremie S
6e131ad284 vlang: add symlink to vcreate 2023-10-26 12:45:02 -03:00
John Garcia
31503b3b6c vlang: weekly.2023.19 -> weekly.2023.42 2023-10-17 21:29:35 +00:00
Weijia Wang
e8408498f7 vlang: eliminate env.VFLAGS 2023-05-16 23:20:58 +03:00
Weijia Wang
fedc294f60 vlang: eliminate pkgsStatic 2023-05-16 19:53:18 +03:00
Weijia Wang
b1c83f9f01 vlang: fix build on darwin 2023-05-16 19:44:49 +03:00
happysalada
d922302771 vlang: improve darwin situation 2023-05-16 07:34:12 -04:00
happysalada
aa0d00f547 vlang: weekly.2022.20 -> weekly.2023.19 2023-05-16 06:24:35 -04:00
Madoura
a44de15349
vlang: 2022.19 -> 2022.20 2022-05-17 06:23:29 -05:00
Madoura
26da0bc974
vlang: weekly.2021.51 -> weekly.2022.19 2022-05-14 18:59:38 -05:00
Malo Bourgon
16e15fa68f treewide: add meta.mainProgram to many packages 2022-05-04 18:08:19 -07:00
Madoura
b18031c413
treewide/meta: Remove chiiruno and replace with Madouura (#169096)
* maintainers: remove chiiruno

* nixos/zeronet.nix: replace chiiruno with Madouura

* nixos/hydron: replace chiiruno with Madouura

* nixos/tests/bcachefs: replace chiiruno with Madouura

* lutris: replace chiiruno with Madouura

* qtchan: replace chiiruno with Madouura

* tinygo: replace chiiruno with Madouura

* vlang: replace chiiruno with Madouura

* merkletools: replace chiiruno with Madouura

* easyjson: replace chiiruno with Madouura

* quicktemplate: replace chiiruno with Madouura

* statik: replace chiiruno with Madouura

* dumb: replace chiiruno with Madouura

* sndio: replace chiiruno with Madouura

* hydron: replace chiiruno with Madouura

* edid-decode-unstable: replace chiiruno with Madouura

* tewisay: replace chiiruno with Madouura

* svt-av1: replace chiiruno with Madouura
2022-04-18 02:13:36 +03:00
samrose
0a23803c28
vlang: weekly.2021.25 -> 2021.51 2021-12-21 15:43:10 -05:00
Daniel Nagy
a82078dd05
vlang: use shipped Makefile instead of custom buildPhase (#128527)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-08-12 11:55:21 +02:00
Daniel Nagy
e73b32f1c5
vlang: 0.1.21 -> weekly.2021.25 2021-06-27 10:37:06 +02:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
チルノ
795b1555a8 vlang: Propagate build inputs, add $LDFLAGS (#70466) 2019-10-07 00:02:34 -04:00
チルノ
0910bb3043 vlang: 0.1.18 -> 0.1.21 (#70297) 2019-10-03 16:47:40 -04:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
Okinan
cfadf776fa vlang: 0.1.16 -> 0.1.18 2019-08-23 01:56:42 -05:00
チルノ
aaf2ecd801 vlang: init at 0.1.16 (#63738) 2019-07-29 14:36:27 -04:00