Commit Graph

13 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
774ee796bc actionlint: 1.7.1 -> 1.7.2 2024-09-24 01:36:16 +00:00
Mutsuha Asada
f38d6171c9
actionlint: moved to by-name and modernized derivation
- Removed `rec`
- Formatted via nixfmt-rfc-style
- Removed `with lib;`
2024-09-22 18:13:43 +09:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -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
Nikolay Korotkiy
1cd96300d5
act: migrate to by-name 2024-09-01 18:06:56 +04:00
Felix Singer
81c8a86e2a acpica-tools: Add Felix Singer as maintainer
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-08-31 21:31:01 +02:00
Felix Singer
4ce2599a98 acpica-tools: Move package definition into by-name directory
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-08-31 21:31:01 +02:00
Jan Tojnar
0a823763e9 accerciser: Move from gnome scope to top-level 2024-07-01 08:26:50 +02:00
R. Ryantm
4b3bdc2637 action-validator: 0.5.4 -> 0.6.0 2024-02-23 07:36:14 +00:00
Emily Trau
1b38685b49 acc: init at 1.60 2023-11-26 16:56:53 +02:00
R. Ryantm
c08c2809dd action-validator: 0.5.3 -> 0.5.4 2023-11-25 08:12:23 +00:00
Thiago Kenji Okada
549ff17f9d action-validator: init at 0.5.3 2023-10-10 14:35:02 +01:00