Commit Graph

17 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
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Mario Rodas
0bc4547952
typescript: repackage using buildNpmPackage (#239189) 2023-06-26 20:36:12 +02:00
Yureka
f8cbc3c281 tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00
linsui
d7eab4d187 weylus: fix build 2023-01-21 23:52:35 +08:00
Sandro
ab18f8f301
Merge pull request #174434 from zhaofengli/weylus-sway
weylus: Add GST plugins to GST_PLUGIN_PATH, weylus: 0.11.4 -> unstable-2022-06-07
2022-07-05 09:54:29 +02:00
Zhaofeng Li
6771aaec5c weylus: 0.11.4 -> unstable-2022-06-07 2022-06-24 11:53:18 -07:00
Rick van Schijndel
37c633f7ae treewide: pkgs/applications: mark broken for darwin 2022-05-29 10:56:04 +02:00
Zhaofeng Li
94b8710342 weylus: Add GST plugins to GST_PLUGIN_PATH
Redos #145051 after #161052.

Co-authored-by: Andy Chun @noneucat <andy@lolc.at>
2022-05-25 00:21:21 -07:00
linsui
73d9e53ff3
weylus: build from source and fix desktop shortcut (#161052)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-03-08 13:56:51 +01:00
Andy Chun @noneucat
45db1b5f38 weylus: add meta.platforms 2021-12-16 12:44:53 -08:00
Andy Chun @noneucat
d727551423 weylus: add pipewire gst plugins to GST_PLUGIN_PATH
Weylus was not picking up the PipeWire GStreamer plugins required for
PipeWire functionality. This commit adds the appropriate path to
GST_PLUGIN_PATH for the binary.
2021-12-16 12:43:31 -08:00
legendofmiracles
b9e6351d30
maintainers: rename legendofmiracles to lom 2021-12-01 17:19:48 -06:00
legendofmiracles
11a1d227b2
weylus: 0.11.3 -> 0.11.4 2021-10-31 17:16:53 -06:00
legendofmiracles
446789875d
weylus: 0.11.2 -> 0.11.3 2021-10-30 18:48:53 -06:00
legendofmiracles
5258463721
nixos/weylus: init 2021-09-02 06:33:23 -06:00
legendofmiracles
f859b89525
weylus: init at 0.11.2 2021-08-22 07:46:51 -06:00