Commit Graph

91 Commits

Author SHA1 Message Date
lucasew
4527cad2dc lemmy: follow packaging and module guidelines
Drop the module-level `with lib`. Require settings.hostname
instead of defaulting a string option to null. Fix package
meta.description and remove unused derivation attrs.

Assisted-by: Grok Build (xAI Grok 4.6)
2026-08-10 10:05:14 -03:00
lucasew
b51748b64a lemmy: add lucasew and NGI team as maintainers
Assisted-by: Grok Build (xAI Grok 4.6)
2026-08-10 10:05:13 -03:00
R. Ryantm
4782832e92 lemmy-ui: 0.19.19 -> 0.19.20 2026-07-21 04:08:27 +00:00
K900
87e2e48e4e lemmy-server: allow warnings
Remember kids, don't -Werror in production.
2026-06-28 17:18:23 +03:00
Robert Schütz
dc50dcfdea lemmy-ui: use pnpm_11 2026-06-26 22:50:07 -07:00
Yt
9ad30bd6f0 lemmy-server: 0.19.18 -> 0.19.19 (#531402) 2026-06-14 11:39:52 +00:00
Lein Matsumaru
e95a3a72d3 lemmy-server: fix darwin 2026-06-14 02:07:06 +00:00
R. Ryantm
ac0ed2b636 lemmy-server: 0.19.18 -> 0.19.19 2026-06-13 15:50:56 +00:00
R. Ryantm
289c6b8e04 lemmy-server: 0.19.17 -> 0.19.18 2026-04-22 04:18:01 +00:00
R. Ryantm
55ef275acb lemmy-server: 0.19.16 -> 0.19.17 2026-03-28 10:54:40 +00:00
R. Ryantm
db8545d6b5 lemmy-ui: 0.19.15 -> 0.19.16 2026-03-05 18:24:12 +00:00
Aliaksandr
53f4380bd6 lemmy-ui: migrate from fetcherVersion = 1 to fetcherVersion = 3 2026-02-26 21:30:13 +02:00
K900
7fc9722e2e lemmy-server: stop leaking rustc into runtime closure 2026-01-16 14:39:52 +03:00
Stefan Frijters
0e4ce20f5d lemmy: prepare for structuredAttrs by moving OPENSSL_NO_VENDOR into env 2025-12-30 22:53:37 +01:00
R. Ryantm
fd28d315a6 lemmy-server: 0.19.14 -> 0.19.15 2025-12-25 05:32:57 +00:00
Sefa Eyeoglu
65b04e5fb8 treewide: migrate to fetchPnpmDeps and pnpmConfigHook
This moves all packages to the new top-level attributes introduced
previously.

This doesn't cause any rebuilds.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-12-18 12:24:09 +01:00
R. Ryantm
6fe7dcedee lemmy-server: 0.19.13 -> 0.19.14 2025-12-12 06:19:13 +00:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Niklas Korz
72bdfe866b lemmy-ui: fix asset URLs
As `fetchFromGitHub` does not preserve the `.git` directory,
lemmy-ui fails to derive the value for its `COMMIT_HASH` variable
during the build.
The package previously (and mistakenly) assumed that `src.rev`
would somehow return the commit hash and not the version.
Fortunately, we do not need to know the precise commit rev.
This value is only used to generate the templated URLs without
further processing (and is also only injected for cache invalidation).
2025-11-23 20:28:25 +01:00
kashw2
a92c0fa8f6 lemmy-ui: modernize 2025-11-08 12:27:45 +10:00
R. Ryantm
abc932c374 lemmy-server: 0.19.12 -> 0.19.13 2025-09-12 11:17:13 +00:00
TomaSajt
398b16e16c treewide: remove useFetchCargoVendor usages 2025-07-26 11:39:35 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Sefa Eyeoglu
a8c9a2aa3e treewide: adjust pnpm.fetchDeps parameter order
It is more common to specify hash as the last attribute of fetcher
function args. Let's move fetcherVersion right above hash for all
occurrences.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-07-15 15:09:16 +02:00
Gutyina Gergő
09a31a6397 treewide: set pnpm.fetchDeps fetcherVersion to 1 2025-07-14 11:51:34 +02:00
R. Ryantm
5b8658e3db lemmy-ui: 0.19.11 -> 0.19.12 2025-06-22 06:07:30 +00:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
R. Ryantm
bc57991924 lemmy-server: 0.19.10 -> 0.19.11 2025-04-08 18:30:49 +00:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
R. Ryantm
8d0df61473 lemmy-ui: 0.19.9 -> 0.19.10 2025-03-30 02:53:01 +00:00
R. Ryantm
69bd941b4e lemmy-server: 0.19.8 -> 0.19.9 2025-02-20 10:39:17 +00:00
Vladimír Čunát
3d09bba98d Merge branch 'staging' into staging-next
Conflicts:
      pkgs/by-name/ba/bacon/package.nix
      pkgs/by-name/be/beancount-language-server/package.nix
      pkgs/by-name/fl/flake-edit/package.nix
      pkgs/by-name/fw/fw/package.nix
      pkgs/by-name/im/impression/package.nix
      pkgs/by-name/in/inori/package.nix
      pkgs/by-name/pi/pika-backup/package.nix
      pkgs/by-name/ri/rip2/package.nix
      pkgs/by-name/sn/sniffnet/package.nix
      pkgs/by-name/sy/syndicate_utils/package.nix
      pkgs/development/tools/misc/texlab/default.nix
In the cases where an update collided with cargoHash change,
I took the hash from the update.
2025-01-27 09:52:04 +01:00
Alyssa Ross
5edf29e205 lemmy-server: useFetchCargoVendor
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
2025-01-26 20:44:55 +01:00
Wolfgang Walther
546ece569b libpq: init at 17.2
Resolves #61580
2025-01-19 12:49:21 +01:00
Arjan Schrijver
ae906d5d3e lemmy: 0.19.7 -> 0.19.8 2024-12-17 12:55:26 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Arjan Schrijver
802f38ff29 lemmy: 0.19.5 -> 0.19.7 2024-11-16 20:56:16 +01:00
Gutyina Gergő
9744efc3b0 treewide: update pnpmDeps hashes 2024-10-19 23:50:41 +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
marius david
efde7f61a7 lemmy-ui: properly replace the vips dependancy 2024-08-21 22:13:35 +02:00
George Shammas
e67ce8d490 Lemmy 0.19.3 -> 0.19.5 2024-07-08 20:29:04 -04:00
Olivér Falvai
0fc86c4a7a lemmy-server: fix darwin build 2024-05-24 21:05:13 +02:00
Jussi Kuokkanen
82b45bf454 treewide: remove licenses.agpl3 2024-03-21 18:09:24 +02:00
Matej Cotman
13fae6142c lemmy-server/ui: 0.18.5 -> 0.19.3 2024-02-15 22:27:32 +02:00
adisbladis
c24958f4c7 maintainers: Remove adisbladis as maintainer from various packages
These are a handful of packages I no longer use or/and have lost interest in.
2023-12-27 23:13:50 +13:00
Arjan Schrijver
3fdf8edafb lemmy-{server,ui}: 0.18.4 → 0.18.5 2023-10-20 13:43:17 +00:00
K900
82233e8120 lemmy-ui: add missed build dependency 2023-09-28 12:29:58 +00:00
happysalada
676fe5e01b lemmy: fix ui commit_hash path 2023-08-27 20:44:10 +08:00
zowoq
264f94eafd lemmy-server: 0.18.3 -> 0.18.4
https://github.com/LemmyNet/lemmy/blob/main/RELEASES.md#lemmy-v0184-release-2023-08-08
2023-08-11 10:51:21 +08:00