Commit Graph

19 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
Gliczy
f32064832e dsda-doom: add nix-update-script 2024-10-25 16:54:10 +02:00
Gliczy
23e6287e1d dsda-doom: 0.28.1 -> 0.28.2 2024-10-25 16:50:32 +02:00
ghpzin
7824143e5f dsp: fix build with ffmpeg7
- add patch from upstream commmit fixing ffmpeg7 compatibility:
58a9d0c1f9
2024-10-14 20:41:18 +03:00
Thiago Kenji Okada
2977943aeb
treewide: move packages maintained by aaronjheng to by-name (#346765) 2024-10-07 07:38:59 +01:00
Aaron Jheng
b85511ca3c
treewide: move packages maintained by aaronjheng to by-name 2024-10-07 01:15:33 +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
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
Gliczy
4fd2c198e3 dsda-doom: cleanup 2024-08-19 10:37:09 +02:00
Gliczy
e2cad22427 dsda-doom: 0.28.0 -> 0.28.1 2024-08-19 10:10:54 +02:00
Gliczy
f5c068d83c dsda-doom: 0.27.5 -> 0.28.0 2024-08-10 20:02:07 +02:00
Cosima Neidahl
3bb48cacf1
Merge pull request #315025 from pcboy/add-dssat47
dssat: init at 4.8.2.12
2024-07-09 22:35:23 +02:00
pcboy
d1dee481a5
dssat: init at 4.8.2.12 2024-07-08 13:36:09 +09: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
imrying
4f6dbf2696 dstep: init at 1.0.4 2024-04-06 20:48:30 +02: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
Peder Bergebakken Sundt
cd9b9d02ba
Merge pull request #281250 from Gliczy/dsda-launcher
dsda-launcher: init at 1.3.1-hotfix
2024-02-13 19:28:16 +01:00
Gliczy
7e7357cb28 dsda-launcher: init at 1.3.1-hotfix 2024-02-13 01:21:35 +01:00
Gliczy
a2d1e1de38 dsda-doom: init at 0.27.5 2024-02-05 18:36:02 +01:00