haccfiles/pkgs/default.nix
stuebinm dce974cab6 pkgs/forgejo: remove unstable override
since forgejo is currently on the same version in unstable & stable,
this seems like a good time to do it.
2024-12-05 22:53:29 +01:00

32 lines
719 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;
};
tracktrain = import sources.tracktrain {
nixpkgs = unstable;
compiler = "default";
};
uffd = oldstable.callPackage ./uffd { };
hacc-scripts = callPackage ./scripts {};
inherit (oldstable) uwsgi flask;
};
in pkgs.extend(_: _: newpkgs)