Commit Graph

15 Commits

Author SHA1 Message Date
R. Ryantm
9e7eb7cd6d
c2patool: 0.9.10 -> 0.9.12 2024-11-25 08:35:22 -05:00
R. Ryantm
9faa0bfa97 c2patool: 0.9.9 -> 0.9.10 2024-10-08 00:51:02 +00: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
R. Ryantm
0439e80308 c2patool: 0.9.8 -> 0.9.9 2024-09-18 01:30:24 +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
11ba04074e c2patool: 0.9.7 -> 0.9.8 2024-08-31 00:27:27 +00:00
R. Ryantm
bcf00b220d c2patool: 0.9.6 -> 0.9.7 2024-08-16 00:30:00 +00:00
R. Ryantm
d221eafeb2 c2patool: 0.9.5 -> 0.9.6 2024-08-01 05:34:14 +00:00
R. Ryantm
f791d2f99e c2patool: 0.9.4 -> 0.9.5 2024-07-19 02:06:11 +00:00
R. Ryantm
e8f559ab64 c2patool: 0.9.3 -> 0.9.4 2024-06-26 00:29:10 +00:00
R. Ryantm
419faf6bbc c2patool: 0.9.2 -> 0.9.3 2024-06-05 07:23:21 +00:00
R. Ryantm
4d0b04ed41 c2patool: 0.9.1 -> 0.9.2 2024-05-29 03:12:17 +00:00
R. Ryantm
4a2f2c7754 c2patool: 0.9.0 -> 0.9.1 2024-05-23 01:27:23 +00:00
ok-nick
1b897f8741
c2patool: 0.8.2 -> 0.9.0 2024-05-07 21:59:36 -04:00
ok-nick
1ea6485c10
c2patool: init at 0.8.2 2024-04-02 22:30:43 -04:00