haccfiles/pkgs/default.nix
stuebinm 6928675baf kanidm & mattermost-staging: dirty hacking
this doesn't work; kanidm seems to give a different userinfo from what
mattermost wants …
2024-03-11 03:04:01 +01:00

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