Commit Graph

28 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
Christian Kögler
b4f4199b6e openvscode-server: 1.88.0 > 1.88.1 2024-05-03 06:58:53 +02:00
Christian Kögler
eb9e29c088 openvscode-server: 1.87.1 -> 1.88.0 2024-04-14 15:32:09 +02:00
Mario Rodas
bb22b55bde openvscode-server: fix build with Node.js≥18.20.0 2024-04-03 04:20:00 +00:00
Christian Kögler
d665974f45 openvscode-server: 1.85.1 -> 1.87.1 2024-03-23 09:09:54 +01:00
Rucadi
a986eec15c
openvscode-server: 1.84.0 -> 1.85.1 (#283316) 2024-03-23 08:13:30 +01:00
Shadaj Laddad
aa7b68e779 openvscode-server: 1.79.2 -> 1.84.0 2023-11-04 11:16:01 -07:00
Robert Hensing
4c1d3cee60 treewide: Add meta.mainProgram
This should fix most warnings getExe in based on grepping `nixos/`.
2023-07-31 21:54:43 +02:00
Pol Dellaiera
4ef8777e3c openvscode-server: 1.79.1 -> 1.79.2 2023-06-26 10:22:29 +02:00
Pol Dellaiera
d5a730290b
openvscode-server: 1.79.0 -> 1.79.1 2023-06-15 23:06:42 +02:00
Pol Dellaiera
4f73991ab9
openvscode-server: use finalAttrs pattern 2023-06-13 15:07:58 +02:00
Pol Dellaiera
40b63ec92d
openvscode-server: 1.78.2 -> 1.79.0 2023-06-13 13:04:42 +02:00
Pol Dellaiera
1e708950b0
openvscode-server: revert #232887
switch back to NodeJS 16 since microsoft/vscode does not support NodeJS 18 yet
2023-05-31 10:15:10 +02:00
Pol Dellaiera
67ec520e07
openvscode-server: 1.78.1 -> 1.78.2 2023-05-26 08:15:30 +02:00
Pol Dellaiera
2fffc43020
openvscode-server: switch to nodejs 18 2023-05-19 22:18:47 +02:00
Pol Dellaiera
cce7cdd293
nixosTests.openvscode-server: init 2023-05-15 21:48:08 +02:00
Pol Dellaiera
768c472899 openvscode-server: 1.77.1 -> 1.78.1 2023-05-12 13:05:20 +02:00
Sandro Jäckel
aad577bd30 nodejs*: normalise names to better fit other packages
Versioned package attributes are usually named like $pname_$version
eg: nodejs-14_x -> nodejs_14
2023-04-25 11:28:17 +02:00
Shadaj Laddad
22b3ae923c openvscode-server: 1.76.2 -> 1.77.1 2023-04-07 14:50:16 -07:00
Shadaj Laddad
71b1045788 openvscode-server: 1.75.0 -> 1.76.2 2023-03-26 19:21:22 -07:00
Shadaj Laddad
aa5b7e4571 openvscode-server: 1.74.3 -> 1.75.0 2023-02-06 10:58:12 -08:00
Shadaj Laddad
2021045e4c openvscode-server: 1.73.1 -> 1.74.3 2023-02-03 10:49:07 -08:00
Mario Rodas
abb2fde32d openvscode-server: fix build 2023-01-28 04:20:00 +00:00
Shadaj Laddad
793aa60fad openvscode-server: 1.69.2 -> 1.73.1 2022-11-26 15:18:02 -08:00
Emily Trau
a57c0da63d openvscode-server: 1.66.0 -> 1.69.2 2022-08-03 01:20:27 +10:00
Emily Trau
aa010a329d openvscode-server: 1.62.3 -> 1.66.0 2022-04-06 16:58:54 +00:00
Derek Guenther
1075e30c92 openvscode-server: 1.62.0 -> 1.62.3 2021-11-23 05:10:48 +00:00
Derek Guenther
7ff8f9ab36 openvscode-server: init at 1.62.0 2021-11-11 02:11:48 +00:00