Commit Graph

59 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
Aleksana
cc2c0e99a2
upsun: 5.0.16 -> 5.0.21; add updateScript (#331473) 2024-09-22 17:04:40 +08:00
Laurent Arnoud
cba7b6b6ca
upsun: 5.0.16 -> 5.0.21 2024-09-18 17:07:52 +02: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
Paul Meyer
47e8b2b2d5
{cronutils,formatjson5,igvm-tooling,uplosi}: add passthru.update-script (#338136) 2024-09-09 09:11:28 +02:00
R. Ryantm
8fb18a4d35 uplosi: 0.2.1 -> 0.3.0 2024-09-05 17:27:39 +00:00
R. Ryantm
e21a4cad4d upbound: 0.32.1 -> 0.33.0 2024-09-03 20:59:39 +00:00
Paul Meyer
99265c7248 uplosi: add passthru.update-script
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-29 10:46:18 +02:00
Laurent Arnoud
363ab2fe36
upsun: add updateScript 2024-08-19 09:58:34 +02:00
R. Ryantm
7aa38bfe92 upbound: 0.31.0 -> 0.32.1 2024-08-11 13:15:31 +00:00
R. Ryantm
20c5b3ab8a updatecli: 0.80.0 -> 0.82.0 2024-08-05 21:12:24 +00:00
Sandro
91299a7cdb
Merge pull request #328863 from katexochen/upower/up 2024-07-31 14:01:42 +02:00
R. Ryantm
4c88601d24 updatecli: 0.78.0 -> 0.80.0 2024-07-24 09:58:59 +00:00
Paul Meyer
be896c0d9b upower-notify: move to by-name, rename
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-21 10:44:27 +02:00
github-actions[bot]
eccfb1ee94
Merge staging-next into staging 2024-06-15 00:02:47 +00:00
Weijia Wang
7b8e00eb27
Merge pull request #318165 from r-ryantm/auto-update/upbound
upbound: 0.30.0 -> 0.31.0
2024-06-14 23:48:13 +02:00
github-actions[bot]
098fe8ee26
Merge staging-next into staging 2024-06-14 18:01:39 +00:00
Jörg Thalheim
66e35ac7f9
Merge pull request #315979 from croissong/updatecli-improve-package-quality
updatecli: improve package quality
2024-06-14 16:15:21 +02:00
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
Jan Moeller
cdf10e27a9
updatecli: format with nixfmt-rfc-style 2024-06-14 10:59:27 +02:00
Jan Moeller
dfd695979f
updatecli: improve package quality
- remove superfluous use of `pname`
- add `testers.testVersion`
2024-06-14 10:58:59 +02:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02: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
R. Ryantm
277c8578ac upbound: 0.30.0 -> 0.31.0 2024-06-08 02:57:21 +00:00
R. Ryantm
b1d448e03b updatecli: 0.77.0 -> 0.78.0 2024-05-30 17:53:10 +00:00
Pol Dellaiera
51f5b20cdb
upsun: sort meta attributes 2024-05-15 10:59:37 +02:00
Pol Dellaiera
6ef43c9256
upsun: add test 2024-05-15 10:58:14 +02:00
Pol Dellaiera
ffc0157df6
upsun: 5.0.12 -> 5.0.13 2024-05-15 10:58:14 +02:00
Pol Dellaiera
1a52ab969c
upsun: reformat using nixfmt-rfc-style 2024-05-15 10:58:14 +02:00
Pol Dellaiera
4bd2ce3420
upsun: use finalAttrs pattern 2024-05-15 10:48:26 +02:00
Pol Dellaiera
145661005b
upsun: add missing phases 2024-05-15 10:46:54 +02:00
Pol Dellaiera
305203ef86
Merge pull request #311643 from spk/upsun-darwin
upsun: add darwin build
2024-05-15 10:46:41 +02:00
Laurent Arnoud
b4c2ea968e upsun: add darwin build 2024-05-15 10:02:01 +10:00
R. Ryantm
d1ec9d4883 updatecli: 0.76.1 -> 0.77.0 2024-05-13 22:14:49 +00:00
R. Ryantm
b75a786cbb upbound: 0.28.0 -> 0.30.0 2024-05-11 19:28:07 +00:00
Aleksana
97ae4fc750
Merge pull request #308863 from lucperkins/move-into-by-name
treewide: move packages maintained by lucperkins to pkgs/by-name
2024-05-06 22:56:00 +08:00
R. Ryantm
ed138a0306 updatecli: 0.76.0 -> 0.76.1 2024-05-06 02:25:40 +00:00
Luc Perkins
1271860b5e
Move lucperkins packages into by-name 2024-05-03 15:37:38 -03:00
ruby0b
3aa0d57076 ups: init at 0.2.1 2024-05-02 23:43:18 +02:00
Nick Cao
8099e6971c
Merge pull request #307954 from msanft/uplosi/0.2.1
uplosi: 0.2.0 -> 0.2.1
2024-04-30 09:09:44 -04:00
Moritz Sanft
3b4df106fb
uplosi: 0.2.0 -> 0.2.1 2024-04-30 11:31:41 +02:00
R. Ryantm
ab6e6054f4 updatecli: 0.75.0 -> 0.76.0 2024-04-28 22:06:52 +00:00
Moritz Sanft
908d0fba85
uplosi: 0.1.3 -> 0.2.0 2024-04-15 11:49:05 +02:00
R. Ryantm
9002af20c6 updatecli: 0.74.0 -> 0.75.0 2024-04-06 22:51:58 +00:00
Laurent Arnoud
6805bd7bb0
upsun: init at 5.0.12 2024-04-05 09:33:26 +02:00
Paul Meyer
fba7582947 treewide: remove explicit -trimpath from Go pkgs 2024-03-28 07:57:19 +01:00
R. Ryantm
80d2b28824 updatecli: 0.72.0 -> 0.74.0 2024-03-23 09:58:24 +00:00
Fabian Affolter
86950a9c05 upiano: allow later textual releases 2024-03-20 14:07:27 +01:00
R. Ryantm
20a0a4dc7a updatecli: 0.70.0 -> 0.72.0 2024-02-11 04:50:35 +00:00
Janik
9496b27011
Merge pull request #279640 from Croissong/init-updatecli
updatecli: init at 0.70.0
2024-02-10 13:51:14 +01:00