Commit Graph

44 Commits

Author SHA1 Message Date
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08: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
Cosima Neidahl
d19ec26142
rcu: 2024.001p -> 2024.001q (#341869) 2024-09-20 13:43:31 +02:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
OPNA2608
1521f96782 rcu: 2024.001p -> 2024.001q 2024-09-16 00:31:27 +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
ghpzin
fe0a5507a8
rcu: disable build on hydra
- rcu uses requireFile as src, so it cannot be built on Hydra
2024-09-05 21:36:28 +03:00
R. Ryantm
17b38e58a1 rcp: 0.12.0 -> 0.13.0 2024-09-02 17:46:06 +00:00
Lin Xianyi
b454835235 rclip: 1.10.2 -> 1.10.3
Diff: https://github.com/yurijmikhalevich/rclip/compare/refs/tags/v1.10.2...v1.10.3
2024-08-28 16:19:45 +08:00
R. Ryantm
4ef4389aa4 rcp: 0.11.0 -> 0.12.0 2024-08-26 23:52:33 +00:00
OPNA2608
5aa8ddf7e5 rcu: Properly keep src alive 2024-08-14 19:46:43 +02:00
R. Ryantm
d3fbbcb822 rclip: 1.10.1 -> 1.10.2 2024-07-17 19:35:58 +00:00
Vladimír Čunát
44b36397c2
Merge branch 'master' into staging-next
Conflicts - GitHub wouldn't auto-resolve them but my local git did:
	pkgs/development/cuda-modules/cuda/overrides.nix
2024-07-04 10:10:22 +02:00
Nick Cao
750b913ac4
Merge pull request #324118 from r-ryantm/auto-update/rcp
rcp: 0.10.1 -> 0.11.0
2024-07-03 16:56:58 -04:00
Vladimír Čunát
c76085b3a9
Merge branch 'master' into staging-next 2024-07-03 19:07:35 +02:00
OPNA2608
c2886beb55 rcu: Fix hash
2024.001(p) had a small fixup. Getting the original src is still possible, but less convenient. Let's just give in this time.
2024-07-02 21:52:06 +02:00
R. Ryantm
3d89dabfb7 rcp: 0.10.1 -> 0.11.0 2024-07-02 18:19:23 +00:00
github-actions[bot]
c1d6d547af
Merge staging-next into staging 2024-06-24 06:01:33 +00:00
R. Ryantm
22b3487860 rclip: 1.10.0 -> 1.10.1 2024-06-23 18:27:54 +00:00
Martin Weinelt
f822b2ba5c Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/langsmith/default.nix
- pkgs/development/python-modules/rich-pixels/default.nix
- pkgs/servers/teleport/generic.nix
2024-06-18 20:16:19 +02:00
Cosima Neidahl
dc7903bf42
Merge pull request #319666 from OPNA2608/update/rcu
rcu: 2024.001o -> 2024.001p
2024-06-16 22:08:17 +02:00
Lin Xianyi
4cbba72894 rclip: 1.9.0 -> 1.10.0
Changelog: https://github.com/yurijmikhalevich/rclip/releases/tag/v1.10.0
Diff: https://github.com/yurijmikhalevich/rclip/compare/refs/tags/v1.9.0...v1.10.0
2024-06-16 19:28:45 +08:00
github-actions[bot]
098fe8ee26
Merge staging-next into staging 2024-06-14 18:01:39 +00: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
R. Ryantm
ce2eaddb1a rcp: 0.9.0 -> 0.10.1 2024-06-13 22:18:57 +00:00
OPNA2608
418ee2b9dc rcu: 2024.001o -> 2024.001p 2024-06-14 00:17:54 +02:00
Lin Xianyi
15b78c32bf rclip: 1.8.10 -> 1.9.0
Changelog: https://github.com/yurijmikhalevich/rclip/releases/tag/v1.9.0
Diff: https://github.com/yurijmikhalevich/rclip/compare/refs/tags/v1.8.10...v1.9.0
2024-06-13 09:35:57 +08: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
Sigmanificient
cc8120d3ff pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
Mateusz Wykurz
b8175944c8 rcp: 0.7.0 -> 0.9.0 2024-05-18 22:27:17 -06:00
Elian Doran
c08e006d36
rcp: mark as broken on darwin-x86_64 2024-05-18 16:01:00 +03:00
Elian Doran
8f153fdae6
rcp: add missing framework on darwin 2024-05-18 16:00:41 +03:00
OPNA2608
fdf193cb3c rcu: 2024.001n -> 2024.001o 2024-05-08 14:59:52 +02:00
R. Ryantm
23edadfa2c rclip: 1.8.8 -> 1.8.10 2024-05-07 22:33:36 +00:00
Lin Xianyi
704433ffb9 rclip: 1.7.26 -> 1.8.8
Diff: https://github.com/yurijmikhalevich/rclip/compare/v1.7.26...v1.8.8
2024-05-04 09:14:33 +08:00
OPNA2608
a0cfe5691b rcu: init at 2024.001n 2024-03-28 09:46:37 +01:00
Mateusz Wykurz
10aa8cf06a rcp: 0.6.0 -> 0.7.0 2024-03-24 15:05:19 -06:00
Lin Xianyi
56ec79a600 rclip: 1.7.24 -> 1.7.26 2024-02-19 08:42:07 +08:00
Mateusz Wykurz
c1984a920f rcp: 0.5.0 -> 0.6.0 2024-02-12 22:06:49 -07:00
Sandro
ae2b1e72fd
Merge pull request #281048 from iynaix/bump-rclip
rclip: 1.7.6 -> 1.7.24
2024-02-06 18:02:11 +01:00
Mateusz Wykurz
3078b96eb2 rcp: init at 0.5.0 2024-01-24 11:40:27 -07:00
Lin Xianyi
b027bb0374 rclip: 1.7.6 -> 1.7.24 2024-01-15 08:34:48 +08:00
Lin Xianyi
d17443fb12 rclip: init at 1.7.6 2023-12-06 16:20:02 +08:00
Anderson Torres
88a627e012 rc: migrate to by-name 2023-09-19 00:02:22 -03:00