Andrew Dunham
5ff79caff9
mastodon: pass dependencies as environment variables
...
This makes it much easier to override components of the Mastodon
derivation to e.g. use a fork. With this change, one can use something
like the following to install a fork (with the appropriate files):
let
src = callPackage ./source.nix { };
in
(mastodon.override {
pname = "hometown";
version = import ./version.nix;
srcOverride = src;
dependenciesDir = ./.;
}).overrideAttrs (oldAttrs: rec {
yarnOfflineCache = fetchYarnDeps {
yarnLock = "${src}/yarn.lock";
sha256 = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
};
mastodonModules = oldAttrs.mastodonModules.overrideAttrs (oldModuleAttrs: {
inherit yarnOfflineCache;
});
});
A spiritual successor to f949de4fbb
2023-01-07 16:18:47 -05:00
Kerstin Humm
d35c9e04e6
mastodon: 3.5.3 -> 4.0.2
2022-11-17 20:05:50 +01:00
Geoffrey Huntley
6e0c9dcd87
mastodon: add ghuntley as maintainer
2022-11-16 17:52:00 +10:00
Yureka
f949de4fbb
mastodon: pass yarnOfflineCache as environment variable
2022-10-02 23:47:49 +02:00
Robert Gerus
65f1654de2
mastodon: Fix compatibility for openssl 3
...
https://github.com/mastodon/mastodon/issues/17924
2022-09-25 23:16:59 +02:00
ajs124
99466ee39e
maintainers: remove petabyteboy
...
github account deleted
2022-06-29 00:52:12 +02:00
Kerstin Humm
03eb4fd7ae
mastodon: 3.5.2 -> 3.5.3
2022-05-27 04:26:49 +02:00
techknowlogick
404e8283e9
mastodon: 3.5.1 -> 3.5.2
2022-05-04 09:19:41 +02:00
Kerstin Humm
15313692cd
mastodon.updateScript: use correct input for nix-prefetch-git, better formatting
2022-04-09 16:27:27 +02:00
techknowlogick
6a441683a0
mastodon: 3.5.0 -> 3.5.1
...
Co-authored-by: Kerstin Humm <kerstin@erictapen.name>
2022-04-09 16:27:27 +02:00
Izorkin
239982c6c9
mastodon: fix indexing statuses in elasticsearch
2022-04-07 14:12:54 +02:00
Kerstin Humm
f44b12fb52
mastodon: use correct GitHub Url
...
The tootsuite organization was renamed to mastodon ages ago.
2022-03-31 13:17:11 +02:00
Kerstin Humm
513f7beb55
mastodon: 3.4.6 -> 3.5.0
...
Co-authored-by: Izorkin <izorkin@elven.pw>
2022-03-31 13:17:11 +02:00
Izorkin
04efb0c252
mastodon: build nodejs modules with fetchYarnDeps
2022-03-21 12:38:34 +01:00
Izorkin
41f28e9fbc
nixos/tests: add mastodon test
2022-03-20 21:01:03 +01:00
Robert Scott
3e432f195f
Merge pull request #160723 from erictapen/mastodon
...
mastodon: apply upstream patch for CVE-2022-0432
2022-02-20 17:03:22 +00:00
Kerstin Humm
a8121ca80e
mastodon: apply upstream patch for CVE-2022-0432
...
4d6d4b43c6
Co-authored-by: Robert Scott <github@humanleg.org.uk>
2022-02-20 14:03:14 +01:00
Jelle Besseling
a305410e4e
mastodon: add aarch64-linux platform
2022-02-19 16:01:43 +01:00
Kerstin Humm
db6600c301
mastodon: 3.4.5 -> 3.4.6
...
fixes CVE-2022-24307
2022-02-03 14:26:44 +01:00
Kerstin Humm
090ad62cf2
mastodon: 3.4.4 -> 3.4.5
2022-02-02 17:50:52 +01:00
Kerstin Humm
e67685910d
mastodon: 3.4.1 -> 3.4.4
...
update.sh --ver v3.4.4 --patches ./resolutions.patch
2021-11-26 01:57:41 +01:00
Kerstin Humm
daf2b0f917
mastodon.updateScript: use runCommand instead of mkDerivation
2021-11-26 01:57:41 +01:00
Robert Hensing
a201246bac
treewide: runCommandNoCC -> runCommand in generated code
...
This has been synonymous for ~5y.
Note that many of these runCommand bindings are unused, but that's
ok for generated code.
2021-08-15 17:36:41 +02:00
Felix Buehler
2a2026580f
mastodon-update-script: remove phases
2021-07-24 23:23:11 +02:00
Kerstin Humm
7c9a0fb960
mastodon: 3.4.0 -> 3.4.1
...
update.sh --ver v3.4.1 --patches ./resolutions.patch
2021-06-15 21:16:16 +02:00
Kerstin Humm
199690337d
mastodon: migrate from ruby 2.7 to 3.0
2021-05-21 15:04:12 +02:00
Kerstin Humm
dfd9d996e2
mastodon: 3.3.0 -> 3.4.0
...
./update.sh --ver v3.4.0 --patches ./resolutions.patch
2021-05-21 15:04:12 +02:00
Izorkin
7fa79457fb
mastodon-assets: build all assets
2021-02-22 20:43:57 +01:00
Izorkin
96f0c2c191
mastodon, nixos/mastodon: use the same nodejs package in package and module
2021-02-16 17:57:31 +01:00
Milan Pässler
0640c21563
mastodon: init at 3.3.0
...
Co-authored-by: Happy River <happyriver93@runbox.com>
Co-authored-by: Justin Humm <justin.humm@posteo.de>
Co-authored-by: Alyssa Ross <hi@alyssa.is>
Co-authored-by: adisbladis <adisbladis@gmail.com>
2021-02-12 15:37:14 +00:00