forked from hacc/haccfiles
stuebinm
8283162109
this copies the current mattermost package definition from upstream nixpkgs into our repo as-is (that definition itself being a modified version of our definition that I upstreamed recently). Since apparently no one else is maintaining the nixpkgs package and I am apparently maintaining a mattermost package mostly on my own anyways, this should make upstreaming future changes easier.
26 lines
574 B
Nix
26 lines
574 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;
|
|
};
|
|
|
|
in pkgs.extend(_: _: newpkgs)
|