Commit Graph

73 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
5cef496f23 treesheets: 0-unstable-2024-08-25 -> 0-unstable-2024-09-08 2024-09-09 06:10:41 +00:00
R. Ryantm
9e7fcb7e19 treesheets: 0-unstable-2024-06-29 -> 0-unstable-2024-08-25 2024-08-27 08:32:03 +00:00
R. Ryantm
6158690aa4 treesheets: 0-unstable-2024-06-23 -> 0-unstable-2024-06-29 2024-07-04 09:44:38 +00:00
R. Ryantm
211fb1b01c treesheets: 0-unstable-2024-06-20 -> 0-unstable-2024-06-23 2024-06-27 22:29:01 +00:00
R. Ryantm
6215e2c784 treesheets: 0-unstable-2024-06-09 -> 0-unstable-2024-06-20 2024-06-21 21:36:24 +00:00
R. Ryantm
9260e62182 treesheets: 0-unstable-2024-06-05 -> 0-unstable-2024-06-09 2024-06-13 21:42:01 +00:00
R. Ryantm
3d3d873541 treesheets: 0-unstable-2024-05-29 -> 0-unstable-2024-06-05 2024-06-06 12:13:47 +00:00
R. Ryantm
23041e5931 treesheets: 0-unstable-2024-05-20 -> 0-unstable-2024-05-29 2024-05-29 22:37:21 +00:00
R. Ryantm
cfecaf9087 treesheets: 0-unstable-2024-05-18 -> 0-unstable-2024-05-20 2024-05-24 12:36:55 +00:00
R. Ryantm
75719bd1a8 treesheets: 0-unstable-2024-05-04 -> 0-unstable-2024-05-18 2024-05-19 10:06:59 +00:00
R. Ryantm
6a41eab7bf treesheets: 0-unstable-2024-04-27 -> 0-unstable-2024-05-04 2024-05-05 21:08:07 +00:00
R. Ryantm
95503fe652 treesheets: unstable-2024-04-11 -> 0-unstable-2024-04-27 2024-05-04 12:37:57 +02:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
R. Ryantm
e5ff406990 treesheets: unstable-2024-03-30 -> unstable-2024-04-11 2024-04-12 01:36:27 +00:00
stupidcomputer
0fb9ee1b8c maintainers: remove avery 2024-04-06 19:54:46 -05:00
R. Ryantm
b6cf30260c treesheets: unstable-2024-03-14 -> unstable-2024-03-30 2024-03-30 17:07:09 +00: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
R. Ryantm
fcdbe5b717 treesheets: unstable-2024-01-30 -> unstable-2024-03-14 2024-03-16 09:46:07 +00:00
R. Ryantm
d331e99c41 treesheets: unstable-2024-01-26 -> unstable-2024-01-30 2024-01-31 20:56:02 +00:00
R. Ryantm
58a5d084ce treesheets: unstable-2024-01-21 -> unstable-2024-01-26 2024-01-28 13:14:13 +00:00
R. Ryantm
51872b1c11 treesheets: unstable-2024-01-03 -> unstable-2024-01-21 2024-01-23 02:25:17 +00:00
R. Ryantm
df4685029e treesheets: unstable-2023-12-24 -> unstable-2024-01-03 2024-01-05 03:55:13 +00:00
R. Ryantm
4925a2442f treesheets: unstable-2023-11-13 -> unstable-2023-12-24 2023-12-30 17:44:34 +00:00
R. Ryantm
5ff0206f18 treesheets: unstable-2023-09-15 -> unstable-2023-11-13 2023-11-15 03:43:44 +00:00
R. Ryantm
f468d80ee1 treesheets: unstable-2023-09-07 -> unstable-2023-09-15 2023-09-17 00:04:41 +00:00
R. Ryantm
b2411cd2d1 treesheets: unstable-2023-08-31 -> unstable-2023-09-07 2023-09-07 20:28:28 +00:00
R. Ryantm
a69062aebc treesheets: unstable-2023-08-17 -> unstable-2023-08-31 2023-09-04 04:25:48 +00:00
R. Ryantm
82a6aa8061 treesheets: unstable-2023-08-10 -> unstable-2023-08-17 2023-08-17 20:29:31 +00:00
R. Ryantm
7ccfe56d63 treesheets: unstable-2023-08-08 -> unstable-2023-08-10 2023-08-12 07:19:35 +00:00
R. Ryantm
05ff70c4ca treesheets: unstable-2023-08-01 -> unstable-2023-08-08 2023-08-08 21:32:21 +00:00
R. Ryantm
3cdc334610 treesheets: unstable-2023-07-28 -> unstable-2023-08-01 2023-08-02 13:26:41 +00:00
R. Ryantm
982d9a839c treesheets: unstable-2023-07-22 -> unstable-2023-07-28 2023-07-29 23:51:08 +00:00
R. Ryantm
6259a2386a treesheets: unstable-2023-07-16 -> unstable-2023-07-22 2023-07-27 00:54:34 +00:00
R. Ryantm
a2d01ab246 treesheets: unstable-2023-07-15 -> unstable-2023-07-16 2023-07-17 07:24:29 +00:00
R. Ryantm
82b5af51e2 treesheets: unstable-2023-07-08 -> unstable-2023-07-15 2023-07-16 17:29:53 +00:00
R. Ryantm
13d4e09476 treesheets: unstable-2023-05-18 -> unstable-2023-07-08 2023-07-10 13:42:49 +00:00
R. Ryantm
dedcfd398f treesheets: unstable-2023-05-17 -> unstable-2023-05-18 2023-05-19 07:58:14 +00:00
R. Ryantm
614aee28a7 treesheets: unstable-2023-05-13 -> unstable-2023-05-17 2023-05-18 05:43:12 +00:00
R. Ryantm
d15132bdea treesheets: unstable-2023-05-04 -> unstable-2023-05-13 2023-05-14 11:46:50 +00:00
R. Ryantm
20724f5476 treesheets: unstable-2023-05-03 -> unstable-2023-05-04 2023-05-06 08:38:37 +00:00
R. Ryantm
0a0f63e300 treesheets: unstable-2023-04-17 -> unstable-2023-05-03 2023-05-04 13:43:00 +00:00
R. Ryantm
ec6246b8c0 treesheets: unstable-2023-04-09 -> unstable-2023-04-17 2023-04-18 23:39:43 +00:00
R. Ryantm
84bf24d12d treesheets: unstable-2023-04-04 -> unstable-2023-04-09 2023-04-10 01:45:24 +00:00
R. Ryantm
fb8e6e65b5 treesheets: unstable-2023-03-18 -> unstable-2023-04-04 2023-04-05 17:31:45 +00:00
R. Ryantm
4ed9586edf treesheets: unstable-2023-03-07 -> unstable-2023-03-18 2023-03-19 09:51:20 +00:00
R. Ryantm
ca35626d2e treesheets: unstable-2023-03-05 -> unstable-2023-03-07 2023-03-15 05:53:42 +00:00
R. Ryantm
1511944c6f treesheets: unstable-2023-02-25 -> unstable-2023-03-05 2023-03-06 19:10:21 +00:00
R. Ryantm
0ec0b1ad0d treesheets: unstable-2023-02-14 -> unstable-2023-02-25 2023-02-26 17:11:57 +00:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00