summaryrefslogtreecommitdiff
path: root/nix/default.nix
blob: 04f9ee4c30d289266f0fc04a2065d39858226d29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
let
  sources = import ./sources.nix;
  nixpkgs = import sources.nixpkgs {
    system = __currentSystem;
    overlays = [
      (_: _: { inherit sources; })
      (import ./sources-overlay.nix)
      (_: pkgs: pkgs.overridePinnedDeps pkgs.overrideSource)
      (_: _: { niv = import sources.niv {}; })
      (import ./haskell-overlay.nix)
      (_: pkgs: { wemux = pkgs.callPackage ./wemux.nix {}; })
    ];
  };
in nixpkgs