Commit Graph

15 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
d02e336f95 mpris-notifier: 0.1.9 -> 0.1.10 2024-09-22 07:43:00 +00: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
R. Ryantm
c751311f10 mpris-notifier: 0.1.7 -> 0.1.9 2024-09-10 01:17:16 +00:00
Anderson Torres
96981e3429 mpvc: remove neeasade as maintainer
No activity since 2023-07-20.
2024-07-22 21:29:00 -03:00
Anderson Torres
3ce1e066be mpvc: 1.3 -> 1.4-unstable-2024-07-09
- Using a new repo because it has more updates;
- Using master tip instead of tagged release because, well, 1.5 does not exist
and the latest versions are `1.5-<some audio-related word>`.
- Adding myself as maintainer
2024-07-22 21:29:00 -03:00
Anderson Torres
a5875f7a7b mpvc: rework
- align input set
- finalAttrs
- strictDeps
- remove nested with
2024-07-22 21:29:00 -03:00
Anderson Torres
00c522b86b mpvc: migrate to by-name 2024-07-22 21:29:00 -03:00
sdaqo
89f3f084d0
mpv-subs-popout: init at 0.5.2 2024-07-22 21:19:10 +02:00
Tomo
c2e1c242f4 mpack: add passthru.tests.version 2024-05-20 16:08:35 -07:00
Tomo
84b113b900 mpack: adopt 2024-05-20 16:08:35 -07:00
Tomo
86a7622c74 mpack: format with nixfmt-rfc-style 2024-05-20 16:08:35 -07:00
Tomo
0b43348b06 mpack: move to pkgs/by-name/mp 2024-05-20 16:08:34 -07:00
LeixB
89f6f01a7e
mpris-notifier: init at 0.1.7 2024-04-09 00:07:47 +02:00
Markus Kowalewski
514518e74b mpifileutils: 0.11.1 2023-11-10 10:39:55 +01:00