Commit Graph

23 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
nicoo
2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00
Donovan Glover
4fb3297389
rmpc: set meta.platforms to linux 2024-08-31 08:40:57 -04:00
Donovan Glover
0af00aa52d
rmpc: install man pages and shell completions 2024-08-25 20:14:10 -04:00
Donovan Glover
4c53299bc3
rmpc: 0.2.1 -> 0.4.0 2024-08-25 20:13:02 -04:00
Donovan Glover
9e024bf247
rmpc: init at 0.2.1 2024-07-27 20:28:19 -04:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
OPNA2608
39af80aaca rmg: 0.5.7 -> 0.6.5 2024-07-05 13:07:46 +02:00
Dominique Martinet
0b1f0db717 rmfakecloud: migrate to by-name 2024-05-12 19:05:43 +09:00
github-actions[bot]
095591c0d4
Merge master into staging-next 2024-05-03 06:01:07 +00:00
Kira Bruneau
369654d204
Merge pull request #308375 from kira-bruneau/rmg
rmg: add option to build with experimental wayland support
2024-05-02 23:56:51 -04:00
Kira Bruneau
c4cbe99d0c rmg: add option to build with experimental wayland support 2024-05-01 17:55:19 -04:00
github-actions[bot]
24c668d7e0
Merge master into staging-next 2024-04-29 00:02:23 +00:00
LordGrimmauld
dc3fb07fed rmenu: 1.2.1 -> 1.2.2 2024-04-28 22:06:59 +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
LordGrimmauld
e279ead388 rmenu: 1.2.0 -> 1.2.1 2024-04-16 21:07:15 +02:00
LordGrimmauld
a5639cb6a8 rmenu: init at 1.2.0 2024-04-03 18:09:53 +02:00
OPNA2608
0ac780fa94 rmg: Fix licensing
- Fix meta.license
- Offer an extra, default-false option to build with license-compromising plugin
  - Taint meta.license to unfree when used
2024-01-28 22:33:51 +01:00
OPNA2608
0abe7e75d2 rmg: Fetch patch for bad GNUInstallDirs variable concatenation
Fixes startup
2024-01-28 21:41:04 +01:00
OPNA2608
58bea8a94c rmg: 0.5.6 -> 0.5.7 2024-01-28 21:23:27 +01:00
R. Ryantm
2f8b1487b4 rmg: 0.5.5 -> 0.5.6 2024-01-26 22:14:45 +00:00
R. Ryantm
9ac177fcf3 rmg: 0.5.4 -> 0.5.5 2024-01-16 18:23:10 +00:00
slam-bert
5a0bebf0fd
rmg: init at 0.5.4
rmg: append to init at 0.5.4

rmg: further add to init at 0.5.4

rmg: (hopefully) finally finish init at 0.5.4

rmg: fix qt imports for init at 0.5.4

rmg: move 'which' to nativeBuildInputs for init at 0.5.4

rmg: try only importing 'which' in init at 0.5.4

rmg: fix a whitespace error in init at 0.5.4

rmg: remove 'dash' for init at 0.5.4

rmg: fix up qt packages for init at 0.5.4

rmg: remove seperate 'wrapQtAppsHook' from imports for init at 0.5.4

rmg: add myself to 'maintainer-list.nix' for init at 0.5.4
2024-01-14 01:00:09 -06:00