forked from hacc/haccfiles
stuebinm
3e40d82579
Since Lix is now in nixpkgs-unstable-small, I think it's a good time to use it. This does mean that we now pull in our nix implementation from an unstable channel, but overall I'm more confident in the Lix team's ability to not break things than I am in the Nix team's ability to backport (& then actually release) security updates. (once Lix is on a stable channel, we can switch back to using it from there)
29 lines
656 B
Nix
29 lines
656 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;
|
|
|
|
# TODO: once on nixos 24.05, remove this inherit
|
|
inherit (unstable) lix;
|
|
};
|
|
|
|
in pkgs.extend(_: _: newpkgs)
|