Commit Graph

53 Commits

Author SHA1 Message Date
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
happysalada
51606bc8c1 lemmy: 0.18.2 -> 0.18.3 2023-08-04 09:58:53 +08:00
Theodore Ni
205803c1ee
lemmy-server, lemmy-ui: small update script cleanup 2023-07-18 18:16:16 -07:00
Theodore Ni
4fb8ca7420
lemmy-server, lemmy-ui: adapt update script to new nix-prefetch-github 2023-07-18 18:16:16 -07:00
adisbladis
45ad1240e8 lemmy-server: 0.18.1 -> 0.18.2 2023-07-15 20:26:40 +12:00
adisbladis
ced78b3339 lemmy-{server,ui}: Use tag to get latest release for both server and ui 2023-07-15 20:26:39 +12:00
adisbladis
b3ea5db058 lemmy-ui: 0.18.1 -> 0.18.2 2023-07-12 15:29:40 +12:00
adisbladis
061d5e208c lemmy: Rewrite updater in Python
When trying to refactor the updater to also support release candidates
I found it to become very messy when I wanted reusable sections
and accessing data members returned by the Github API.

Python is a more competent programming language that more people in
the nix community know how to use.
2023-07-12 15:29:40 +12:00
adisbladis
3a5176a1ff lemmy-{server,ui}: add adisbladis as maintainer 2023-07-08 13:59:30 +12:00
adisbladis
8062626e0e lemmy-{server,ui}: 0.18.0 -> 0.18.1 2023-07-08 13:59:30 +12:00
Matej Cotman
cab0518627 lemmy-server: write version to file 2023-06-27 16:24:23 +12:00
Matej Cotman
2ba6d6fb94 lemmy-ui: write version to correct file 2023-06-27 16:24:23 +12:00
Matej Cotman
4b789ef027 lemmy: build sharp 2023-06-27 16:24:23 +12:00
adisbladis
8b88e2ccfe lemmy: 0.17.4 -> 0.18.0 2023-06-27 16:24:23 +12:00
happysalada
b55b415198 lemmy: fix update script (hash + running dir) 2023-06-15 14:18:22 -04:00
adisbladis
adb66130e7 lemmy-ui: set meta.platforms to nodejs.meta.platforms
lemmy-ui should run everywhere that nodejs does.
2023-06-14 09:24:56 -04:00
adisbladis
2e7eea8e38 lemmy: 0.17.3 -> 0.17.4 2023-06-14 09:24:56 -04:00
Marcus Ramberg
72a47ca349 lemmy: 0.17.2 -> 0.17.3 2023-06-07 14:10:28 -04:00
Bill Ewanick
b81f7d15f1 lemmy: 0.17.1 -> 0.17.2 2023-03-27 21:08:36 -04:00
Bill Ewanick
8260d35eb9 lemmy: 0.16.7 -> 0.17.1 2023-02-21 18:33:46 -05:00
github-actions[bot]
e1d2f74dee
Merge master into staging-next 2022-09-30 18:03:29 +00:00
Bill Ewanick
cddf8235d2 lemmy: 0.16.6 -> 0.16.7 2022-10-01 00:42:03 +09:00
Artturin
0734f54ef2 treewide: move pkg-config, autoreconfHook, intltool to nativeBuildInputs
found with nixpkgs-lint
2022-09-26 17:53:26 +03:00
Brian Leung
cbf8e91772 nixos/tests/lemmy: init
Co-authored-by: Ctem <c@ctem.me>
Co-authored-by: cab <cab404@mailbox.org>
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
Co-authored-by: Matthias Meschede <MMesch@users.noreply.github.com>
Co-authored-by: Ilan Joselevich <personal@ilanjoselevich.com>
2022-09-02 05:55:11 -04:00
Bill Ewanick
d99563cd78 Add oil to packages before invoking shell,
this allows the oil shell to actually run
2022-07-21 18:40:45 -04:00
Bill Ewanick
e5801de829 lemmy: 0.16.4 -> 0.16.6 2022-07-20 21:19:18 -04:00
Bill Ewanick
5fb0d258ea lemmy: 0.15.1 -> 0.16.4 2022-06-26 03:30:54 -04:00
Malo Bourgon
16e15fa68f treewide: add meta.mainProgram to many packages 2022-05-04 18:08:19 -07:00
happysalada
76b68621e8 lemmy: fix update.sh script 2022-04-20 21:45:25 -04:00
Alyssa Ross
fd78240ac8
treewide: use lib.getLib for OpenSSL libraries
At some point, I'd like to make another attempt at
71f1f4884b ("openssl: stop static binaries referencing libs"), which
was reverted in 195c7da07d.  One problem with my previous attempt is
that I moved OpenSSL's libraries to a lib output, but many dependent
packages were hardcoding the out output as the location of the
libraries.  This patch fixes every such case I could find in the tree.
It won't have any effect immediately, but will mean these packages
will automatically use an OpenSSL lib output if it is reintroduced in
future.

This patch should cause very few rebuilds, because it shouldn't make
any change at all to most packages I'm touching.  The few rebuilds
that are introduced come from when I've changed a package builder not
to use variable names like openssl.out in scripts / substitution
patterns, which would be confusing since they don't hardcode the
output any more.

I started by making the following global replacements:

    ${pkgs.openssl.out}/lib -> ${lib.getLib pkgs.openssl}/lib
    ${openssl.out}/lib -> ${lib.getLib openssl}/lib

Then I removed the ".out" suffix when part of the argument to
lib.makeLibraryPath, since that function uses lib.getLib internally.

Then I fixed up cases where openssl was part of the -L flag to the
compiler/linker, since that unambigously is referring to libraries.

Then I manually investigated and fixed the following packages:

 - pycurl
 - citrix-workspace
 - ppp
 - wraith
 - unbound
 - gambit
 - acl2

I'm reasonably confindent in my fixes for all of them.

For acl2, since the openssl library paths are manually provided above
anyway, I don't think openssl is required separately as a build input
at all.  Removing it doesn't make a difference to the output size, the
file list, or the closure.

I've tested evaluation with the OfBorg meta checks, to protect against
introducing evaluation failures.
2022-03-30 15:10:00 +00:00
Bill Ewanick
c875cdce3f
lemmy: 0.14.0 -> 0.15.1 (#155236) 2022-01-17 05:06:27 +09:00
Bill Ewanick
7a4744b164
Update lemmy webapp (#147204)
* lemmy: change update script to be more idiomatic

Co-authored-by: Raphael Megzari <raphael@megzari.com>

* lemmy: 0.13.3 -> 0.14.0

Co-authored-by: Raphael Megzari <raphael@megzari.com>

Co-authored-by: Raphael Megzari <raphael@megzari.com>
2021-11-24 10:48:53 +09:00
happysalada
8d8a17f889 lemmy: 0.12.2 -> 0.13.3
lemmy: update update.sh to include package.json

lemmy: use commited package.json
2021-11-01 10:42:30 +09:00
happysalada
f1d3cdcf58 lemmy: use pin.json to prepare for update script
lemmy: add initial update script

lemmy: remove use of upstream package.json

lemmy: add update script

lemmy: fixes

lemmy: use importJSON

lemmy: use correct import json ref
2021-11-01 10:42:30 +09:00
happysalada
9a3e6e2253 lemmy-ui: use fetchyarndeps
lemmy: remove yarn.nix
2021-11-01 10:42:30 +09:00
Bill Ewanick
cc3b147ed1 nixos/lemmy: init
Co-authored-by: Raphael Megzari <raphael@megzari.com>
2021-10-06 21:02:51 +09:00
happysalada
5e7aab5982 lemmy-ui: add static assets folder to out 2021-10-03 14:51:06 +09:00
Bill Ewanick
ad79645eff lemmy-server: 0.11.3 -> 0.12.2 2021-09-16 10:26:10 -07:00
Bill Ewanick
62f24d0c57 lemmy-ui: init at 0.12.2 2021-09-16 10:26:10 -07:00