stuebinm
5fe7a12b74
this is almost a revert of 147fe172d9
,
but we now use the forgejo package of nixos-unstable-small instead of
that from stable nixos.
we were never noticably faster than forgejo maintainance upstream (turns
out that unlike mattermost, some services actually get updated in time);
no update was ever more than just copying the latest upstream package
recipe.
As a side-effect, this also updates forgejo to 7.0.5, which is a
security release:
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-5
35 lines
788 B
Nix
35 lines
788 B
Nix
{ sources, ... }@args:
|
|
|
|
let
|
|
pkgs = import sources.nixpkgs args;
|
|
oldstable = import sources.nixpkgs-oldstable args;
|
|
unstable = import sources.nixpkgs-unstable args;
|
|
|
|
callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);
|
|
|
|
newpkgs = {
|
|
|
|
mattermost = callPackage ./mattermost.nix {
|
|
buildGoModule = unstable.buildGo122Module;
|
|
};
|
|
|
|
morph = callPackage ./morph.nix {
|
|
buildGoModule = unstable.buildGo122Module;
|
|
};
|
|
|
|
forgejo = unstable.forgejo;
|
|
|
|
tracktrain = import sources.tracktrain {
|
|
nixpkgs = unstable;
|
|
compiler = "default";
|
|
};
|
|
|
|
uffd = oldstable.callPackage ./uffd { };
|
|
|
|
inherit (oldstable) uwsgi flask;
|
|
|
|
# TODO: once on nixos 24.05, remove this inherit
|
|
inherit (unstable) lix;
|
|
};
|
|
|
|
in pkgs.extend(_: _: newpkgs)
|