Commit Graph

7 Commits

Author SHA1 Message Date
Fabián Heredia Montiel
ccec93c1c7 treewide: replace webkitgtk to webkitgtk_4_0
sed -i 's/ webkitgtk\b/ webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/(webkitgtk\b/(webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/\.webkitgtk\b/.webkitgtk_4_0/g' pkgs/**.nix

webkitgtk is currently pointing to that specific ABI version but the
alias is going to start warning
2024-10-11 17:23:43 -06:00
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
Randy Eckenrode
d5f637590e
tree-wide: enable LTO on Darwin 2024-07-20 03:19:54 -04:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
PowerUser64
17156e1cf3 sonobus: 1.7.0 -> 1.7.2 2024-01-23 19:20:48 -08:00
R. Ryantm
a8c1990a01 sonobus: 1.6.2 -> 1.7.0 2023-11-29 15:15:32 +00:00
PowerUser64
57221929c9 sonobus: init at 1.6.2
Co-authored-by: tobiasBora <tobias.bora@gmail.com>

sonobus: add meta

sonobus: remove tree dependency (left from debug)

sonobus: rewrite comments

sonobus: remove platform

sonobus: apply suggestions from review

Co-authored-by: Nikolay Korotkiy <sikmir@disroot.org>
Co-authored-by: Matthias Thym <git@thym.at>

sonobus: mark darwin as broken

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>

sonobus: apply suggestions from code review

Co-authored-by: Lily Foster <lily@lily.flowers>

sonobus: remove opusTools

sonobus: 1.6.2

sonobus: change to autoPatchelfHook

Co-authored-by: Lily Foster <lily@lily.flowers>
2023-03-02 19:10:44 -08:00