2021-01-11 00:11:40 +00:00
|
|
|
{ config ? {}, system ? builtins.currentSystem, ... }@args:
|
2020-11-27 20:56:20 +00:00
|
|
|
|
|
|
|
let
|
2021-01-10 23:53:41 +00:00
|
|
|
sources = import ../nix/sources.nix;
|
2021-01-11 00:11:40 +00:00
|
|
|
pkgs = import sources.nixpkgs args;
|
2020-11-27 20:56:20 +00:00
|
|
|
|
2021-01-10 23:53:41 +00:00
|
|
|
callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);
|
2020-11-30 18:30:24 +00:00
|
|
|
|
2020-11-27 20:56:20 +00:00
|
|
|
newpkgs = {
|
2021-01-10 23:53:41 +00:00
|
|
|
peertube = callPackage ./peertube { mylibs = import "${sources.immae-nix}/lib" { inherit pkgs; }; };
|
2020-12-05 18:56:49 +00:00
|
|
|
alps = callPackage ./alps {};
|
2021-01-10 23:53:41 +00:00
|
|
|
|
|
|
|
inherit callPackage;
|
|
|
|
appendOverlays = overlays: (pkgs.appendOverlays overlays) // newpkgs;
|
2020-11-27 20:56:20 +00:00
|
|
|
};
|
|
|
|
|
2021-01-10 23:53:41 +00:00
|
|
|
in pkgs // newpkgs
|