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
Florian Brandes
7c05cf6b0e
zabbix-agent2-plugin-postgresql: format
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-08-13 17:55:15 +02:00
Florian Brandes
72cc239f96
zabbix-agent2-plugin-postgresql: 6.4.15 -> 7.0.2
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-08-13 17:55:14 +02:00
Nishimara
3e8fbb37ac
typo 2024-08-01 15:56:09 +03:00
Nishimara
798d1d109b
zapret: 0-unstable-2024-07-16 -> 0-unstable-2024-08-01 2024-08-01 15:49:08 +03:00
Nishimara
936bc73caa
zapret: create blank config 2024-08-01 15:42:18 +03:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
nishimara
034f3eec9b
zapret: init as 0-unstable-2024-07-16 (#327675) 2024-07-16 23:08:33 +00:00
R. Ryantm
629c05b967 zabbix-agent2-plugin-postgresql: 6.4.14 -> 6.4.15 2024-06-11 09:19:45 +00:00
R. Ryantm
2c0d991d9e zabbix-agent2-plugin-postgresql: 6.4.12 -> 6.4.14 2024-05-01 17:14:05 +00:00
R. Ryantm
b2ce04c8f7 zapzap: 5.3 -> 5.3.1 2024-04-29 17:36:28 +00:00
R. Ryantm
35863bff31 zapzap: 5.2.1 -> 5.3 2024-04-18 04:20:27 +00:00
nixpkgs-merge-bot[bot]
84a2a1f9a1
Merge pull request #294036 from r-ryantm/auto-update/zabbix-agent2-plugin-postgresql
zabbix-agent2-plugin-postgresql: 6.0.25 -> 6.4.12
2024-03-31 14:53:06 +00:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
cb176b27b1 zabbix-agent2-plugin-postgresql: 6.0.25 -> 6.4.12 2024-03-08 20:10:51 +01:00
Peder Bergebakken Sundt
59a933b103
Merge pull request #278273 from gador/zabbix-agent2-plugin-postgresql
zabbix-agent2-plugin-postgresql: init at 6.0.25
2024-03-05 00:37:42 +01:00
Florian Brandes
c007f05c12
zabbix-agent2-plugin-postgresql: init at 6.0.25
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-03-03 08:45:22 +01:00
R. Ryantm
cac6cb1f13 zapzap: 5.2 -> 5.2.1 2024-02-25 21:50:21 +00:00
Sandro Jäckel
90e333b596
zapzap: 5.1.3 -> 5.2
Changelog: https://github.com/zapzap-linux/zapzap/releases/tag/5.2
2024-02-17 18:15:29 +01:00
Sandro Jäckel
40929299ec
zapzap: 4.5.5.2 -> 5.1.3 2024-01-17 00:26:28 +01:00
Sandro Jäckel
8bf02ebc9b
zapzap: fix double wrapping, install icon in correct directory 2023-12-17 21:35:45 +01:00
eymeric
4ecb17e4cf zapzap: init at 4.5.5.2 2023-12-10 02:28:31 +01:00