Commit Graph

20 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
Niko Cantero
55e6535e4e
maintainers: rename nyanbinary to nyabinary 2024-09-19 15:04:36 -04: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
cb0d3e9d0a xdg-desktop-portal-shana: 0.3.11 -> 0.3.12 2024-08-18 16:30:58 +00:00
a-kenji
d22079bf51 xdg-desktop-portal-cosmic: "unstable-2023-12-07" -> "1.0.0-alpha.1" 2024-08-07 12:02:50 +02:00
Zitrone
e1bd3a50a3
xdg-terminal-exec: 0.10.0 -> 0.10.1 2024-07-24 23:54:00 +02:00
R. Ryantm
fddfea5ddb xdg-terminal-exec: 0.9.3 -> 0.10.0 2024-06-13 04:12:15 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
quantenzitrone
6e18225ca6
xdg-terminal-exec-mkhl: init at 0.2.0 (#310740) 2024-05-13 08:20:04 +00:00
Quantenzitrone
9e7b5b2801
xdg-terminal-exec: 0.9.0 -> 0.9.3
and improved meta.description
2024-04-13 16:00:28 +02:00
Quantenzitrone
b1d1eaa36a
xdg-terminal-exec: unstable-2023-12-08 -> 0.9.0
- also use dash as sh implementation instead of bash,
  because the xdg-terminal-exec repo README recommends to use
  'a slick sh implementation like dash' for faster execution
2024-03-19 23:02:23 +01:00
Donovan Glover
7da00fc793
xdg-user-dirs: set meta.mainProgram 2024-03-13 05:25:03 -04:00
Donovan Glover
3b44930cdd
xdg-user-dirs: cleanup 2024-03-13 05:22:38 -04:00
Donovan Glover
532ac4f6c6
xdg-user-dirs: migrate to by-name 2024-03-13 05:13:58 -04:00
R. Ryantm
4cac728767 xdg-desktop-portal-shana: 0.3.9 -> 0.3.11 2024-03-10 12:29:35 +00:00
SamueleFacenda
29d830243a xdg-desktop-portal-shana: init at 0.3.9
Signed-off-by: SamueleFacenda <samuele.facenda@gmail.com>
2024-03-06 15:42:30 +01:00
K900
5dee2fe57e xdg-utils-cxx: init at 1.0.1 2024-02-28 18:49:12 +03:00
a-kenji
1ce43fefef xdg-desktop-portal-cosmic: set meta.mainProgram 2024-02-19 19:50:07 +01:00
Quantenzitrone
6ff039d24c xdg-terminal-exec: init at unstable-2023-12-08 2023-12-11 13:01:33 +01:00
Niko
f6b3cb4a26 xdg-desktop-portal-cosmic: init at unstable-2023-12-07 2023-12-07 22:51:17 -05:00