Commit Graph

34 Commits

Author SHA1 Message Date
Fabian Affolter
a41a81b3fd
joincap: refactor
- update changelog URL
2024-11-15 09:34:19 +01:00
R. Ryantm
42a57bc240 joincap: 0.10.2 -> 0.11.0 2024-11-15 02:12:15 +00:00
Nikolay Korotkiy
8540b13b1d
josm: 19230 → 19253 (#354506) 2024-11-09 21:53:26 +01:00
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
Moraxyc
c687c5fe4c
journalist: 1.0.0-unstable-2024-06-15 -> 1.0.1 2024-10-20 14:58:10 +08:00
Pierre-Etienne Meunier
0cd4c27f34
Fixing JOE, the fully functional text editor, on macOS (#346118)
joe: fix build on darwin

Adding guards for apple
2024-10-19 06:17:12 +03:00
Nikolay Korotkiy
45093dff80 josm: 19207 → 19230 2024-10-10 21:25:07 +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
aleksana
6665ee1b50 jogger: init at 1.2.4-unstable-2024-04-05 2024-09-11 20:29:59 +08:00
Enock Seth Nyamador
4be51023c5 josm: 19160 → 19207 2024-09-03 17:31:45 +02:00
a-kenji
c3e6b1a341 joshuto: 0.9.8 -> 0.9.8-unstable-2024-07-20 2024-08-13 14:25:35 +02:00
Julius Michaelis
6a9beaf893 treewide: skip generating shell completions using $out/bin/… when cross compiling
This focuses on Rust packages, since the most commonly used argument
parser library (clap/structopt) makes the following pattern natural and
thus common:

  postInstall = ''
    installShellCompletion --cmd foo \
      --bash <($out/bin/foo completion bash) \
      …

This commit just guards those with

lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform)

splitting the string where unrelated actions are performed.
2024-08-04 10:50:48 +09:00
Nikolay Korotkiy
83a364ced9 josm: 19128 → 19160 2024-08-03 23:19:29 +02:00
Sandro
e7ce68d67b
Merge pull request #318324 from Moraxyc/add-journalist
journalist: init at 1.0.0-unstable-2024-05-28
2024-08-01 22:13:02 +02:00
Enock Seth Nyamador
94f74bca07 josm: 19096 → 19128 2024-07-09 10:34:38 +02:00
h7x4
7384b9abdc
treewide: set meta.changelog 2024-07-07 15:20:06 +02:00
Moraxyc
b3c4da5cdf
journalist: init at 1.0.0-unstable-2024-06-15 2024-06-28 16:10:18 +08:00
Francesco Gazzetta
9875b21a38 job-security: unstable-0-2024-03-24 -> 0-unstable-2024-04-07 2024-06-27 17:13:03 +02:00
Julien Malka
b96d99b63d
Merge pull request #320291 from JulienMalka/init-joularjx
joularjx: init at 2.9.0
2024-06-17 00:00:48 +02:00
Julien Malka
d29a5fb031
joularjx: init at 2.9.0 2024-06-16 23:59:15 +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
Nikolay Korotkiy
57411e2649 josm: migrate to by-name 2024-06-08 21:59:51 +02:00
Fabian Affolter
9c9d95ecf5 journalwatch: refactor
- make it an application
- update build-system
- migrate to pytestCheckHook
- format with nixfmt
2024-05-22 08:28:14 +02:00
Sandro
2230a20f2b
Merge pull request #294017 from fgaz/job-security/init 2024-03-27 10:47:59 +01:00
Francesco Gazzetta
c2006be9a7 job-security: init at unstable-0-2024-03-24 2024-03-26 16:14:13 +01:00
Pol Dellaiera
186c3e34a7
Merge pull request #296549 from TomaSajt/strip-java-archives-hook
add stripJavaArchivesHook and use treewide
2024-03-19 05:41:08 +01:00
TomaSajt
436fe7b59b
treewide: unify ant determinism methods 2024-03-17 13:35:55 +01:00
xrelkd
38e0021b57
joshuto: 0.9.6 -> 0.9.8
Diff: https://github.com/kamiyaa/joshuto/compare/v0.9.6...v0.9.8

Changelog: https://github.com/kamiyaa/joshuto/releases/tag/v0.9.8
2024-03-16 07:57:11 +08:00
xrelkd
f2e13524e8
joshuto: migrate to by-name 2024-03-16 07:39:40 +08:00
Weijia Wang
c9328750fa jogl: refactor 2024-02-10 22:18:16 +01:00
Weijia Wang
b95f9bd48c javaPackages.jogl_2_4_0: rename to jogl 2024-02-10 18:00:38 +01:00
~noodlez1232
f1047f611d joycond-cemuhook: init at unstable-2023-08-09 2023-11-10 18:09:55 -08:00