stuebinm
147fe172d9
this bundles the current package recipe of forgejo in nixpkgs-unstable. Implies updating forgejo, since nixpkgs-stable is still on 1.20.6 (v6 in the new version scheme). This'll mean we have to manually update it same as with mattermost, and can potentially also help with upstream changes. If we get tired of that, we can always decide to just use the nixpkgs-unstable version directly.
33 lines
751 B
Nix
33 lines
751 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;
|
|
};
|
|
|
|
forgejo = callPackage ./forgejo {
|
|
buildGoModule = unstable.buildGo122Module;
|
|
};
|
|
|
|
tracktrain = import sources.tracktrain {
|
|
nixpkgs = pkgs;
|
|
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)
|