Commit Graph

63 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
Emily
5d18daccb6 jujutsu: 0.22.0 -> 0.23.0
Diff: https://github.com/martinvonz/jj/compare/v0.22.0...v0.23.0

Changelog: https://github.com/martinvonz/jj/blob/v0.23.0/CHANGELOG.md
2024-11-07 05:10:17 +00:00
jdev082
0f4ede258d junest: fix --version flag
Signed-off-by: jdev082 <jdev082@jdev.eu.org>
2024-10-29 16:17:45 -05:00
R. Ryantm
ad3e6628a0 junest: 7.4.9 -> 7.4.10 2024-10-17 21:30:08 +00:00
Gaetan Lepage
310061a7f9 justbuild: use default version of protobuf 2024-10-14 08:14:46 +02:00
Gaetan Lepage
7de2696dc2 justbuild: add update script 2024-10-14 08:14:46 +02:00
Gaetan Lepage
a9679031d9 justbuild: add tests.version test 2024-10-14 08:14:46 +02:00
Gaetan Lepage
8c4502b9ef justbuild: 1.3.1 -> 1.3.2
Diff:
https://github.com/just-buildsystem/justbuild/compare/v1.3.1...v1.3.2

Changelog:
https://github.com/just-buildsystem/justbuild/releases/tag/v1.3.2
2024-10-14 08:14:46 +02:00
Gaetan Lepage
ffd9d8f0f1 justbuild: format 2024-10-14 08:14:46 +02:00
R. Ryantm
76479c2039 just: 1.35.0 -> 1.36.0 2024-10-07 23:43:30 +00:00
Samuel Tardieu
fc8b56ac9e jujutsu: 0.21.0 → 0.22.0 2024-10-02 19:45:19 +02: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
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
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
github-actions[bot]
769b11176d
Merge master into staging-next 2024-09-05 18:03:49 +00:00
Emily
e2cf429ed6 jujutsu: add bbigras to maintainers 2024-09-05 08:10:09 +01:00
Emily
ddae04e97a jujutsu: add emily to maintainers 2024-09-05 08:10:09 +01:00
Emily
92d1f27b53 jujutsu: update cargoBuildFlags comment
The test executables are no longer installed by default, but this
still picks up one of the build tools.

Additionally, move the derivation attribute according to convention.
2024-09-05 08:10:09 +01:00
Emily
f3c1982606 jujutsu: don’t build crates without tests in checkPhase 2024-09-05 08:10:09 +01:00
Emily
b91e47c585 jujutsu: use cargo-nextest 2024-09-05 08:10:09 +01:00
Emily
c38eb8dbaf jujutsu: run all tests 2024-09-05 08:10:09 +01:00
Emily
ede2bd2a5a jujutsu: weaken canExecute to emulatorAvailable 2024-09-05 08:10:09 +01:00
Emily
279e27754f jujutsu: reorder arguments 2024-09-05 08:10:08 +01:00
Emily
b221192809 jujutsu: don’t depend on OpenSSL on macOS 2024-09-05 08:10:08 +01:00
Emily
099dad2daf jujutsu: remove gzip dependency
This does not seem to be required any more.
2024-09-05 04:10:18 +01:00
Emily
95b9708a69 jujutsu: remove unused fetchpatch2 argument 2024-09-05 04:10:18 +01:00
Emily
50ebb3a99f jujutsu: use env 2024-09-05 04:10:17 +01:00
Emily
171489ac1a jujutsu: remove rec 2024-09-05 03:16:47 +01:00
Emily
d5b78d3cc1 jujutsu: remove with lib 2024-09-05 03:16:47 +01:00
Emily
64bbb1d94c jujutsu: move to pkgs/by-name 2024-09-05 03:16:47 +01:00
github-actions[bot]
fab50d5f8d
Merge staging-next into staging 2024-08-31 00:13:46 +00:00
Muhammad Falak R Wani
3aa9a191bc just: 1.34.0 -> 1.35.0
Diff: https://github.com/casey/just/compare/refs/tags/1.34.0...1.35.0
Changelog: https://github.com/casey/just/blob/1.35.0/CHANGELOG.md
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-08-30 13:06:10 +05:30
Wolfgang Walther
8affc6a06f
just: shellcheck setup hook 2024-08-24 12:23:36 +02:00
Wolfgang Walther
c3900d12c9
just: support structuredAttrs in setup hook
Tested cosmic-applibrary with and without __structuredAttrs.
2024-08-24 12:23:36 +02:00
Pol Dellaiera
a8c7e33f8d
Merge pull request #332212 from 1adept/update-just
just: 1.32.0 -> 1.34.0
2024-08-04 22:47:28 +02:00
1adept
bf74ddc5f2 just: 1.32.0 -> 1.34.0 2024-08-04 17:18:31 +02:00
R. Ryantm
311fada2d6 junest: 7.4.8 -> 7.4.9 2024-08-04 00:18:54 +00:00
Adam C. Stephens
f29426dca8
Merge pull request #328349 from mfrw/mfrw/just-1.32.0
just: 1.31.0 -> 1.32.0
2024-07-19 19:15:42 -04:00
Adam Stephens
96e47a3676
just: remove adamcstephens as maintainer 2024-07-19 08:41:03 -04:00
Muhammad Falak R Wani
520a05e863 just: 1.31.0 -> 1.32.0
Diff: https://github.com/casey/just/compare/refs/tags/1.31.0...1.32.0
Changelog: https://github.com/casey/just/blob/1.32.0/CHANGELOG.md
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-07-19 10:37:16 +05:30
László Vaskó
3d1c1c0fce just: 1.30.1 -> 1.31.0 2024-07-15 23:55:59 +02:00
Muhammad Falak R Wani
02d61cdb20 just: 1.29.1 -> 1.30.1
Diff: https://github.com/casey/just/compare/refs/tags/1.29.1...1.30.1
Changelog: https://github.com/casey/just/blob/1.30.1/CHANGELOG.md
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-07-11 09:03:16 +05:30
Muhammad Falak R Wani
4929499597 just: 1.28.0 -> 1.29.1
Diff: https://github.com/casey/just/compare/refs/tags/1.28.0...1.29.1
Changelog: https://github.com/casey/just/blob/1.29.1/CHANGELOG.md
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-06-15 22:07:54 +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
Adam C. Stephens
7f8967c1f9
Merge pull request #316156 from vlaci/just-127
Just: 1.26.0 -> 1.28.0
2024-06-07 09:36:22 -04:00
László Vaskó
669bc72949 just: genereate man pages and shell completions dynamically
These assets are no longer present in the repository
2024-06-06 17:05:21 +02:00
László Vaskó
8d548d61ec just: make new bash completion test work from build 2024-06-06 17:05:21 +02:00
László Vaskó
21ea0e48c8 just: New test in 1.27.0 assumes JUST_CHOOSER is unset 2024-06-06 13:06:02 +02:00
László Vaskó
1a45d56a7a just: make test exclusion more precise
Added test module names where absent, also added problematic test
names where the whole module was excluded previously.
2024-06-06 13:06:02 +02:00
László Vaskó
b0c8ad3e3b just: 1.26.0 -> 1.28.0 2024-06-06 11:05:16 +00:00