summaryrefslogtreecommitdiff
path: root/pkgs/default.nix
blob: 5195e04649d615fa0b8a855da0122230a9e225df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ ... }:

let
  sources = import ../nix/sources.nix;
  pkgs = import sources.nixpkgs {};

  callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);

  newpkgs = { 
    #pleroma-otp = callPackage "${sources.nixpkgs-unstable}/pkgs/servers/pleroma-otp" {};
    pleroma = (import sources.nixpkgs-unstable {}).pleroma;
#    dendrite = callPackage "${sources.nixchen}/pkgs/dendrite" {};

    inherit callPackage;
    appendOverlays = overlays: (pkgs.appendOverlays overlays) // newpkgs;
  };

in pkgs // newpkgs