haccfiles/pkgs/default.nix

18 lines
482 B
Nix
Raw Normal View History

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