summaryrefslogtreecommitdiff
path: root/default.nix
blob: 714dd7519abc2c0a71b8e66ceeed7202ab31a885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
let
  lock = builtins.fromJSON (builtins.readFile ./flake.lock);
  fetchTree = import ./nix/fetchTree.nix;
  flakeSources = builtins.mapAttrs (_: node: fetchTree node.locked) lock.nodes;
in
{
  pkgs ? import sources.nixpkgs {
    inherit system;
    config = { };
    overlays = [ ];
  },
  system ? builtins.currentSystem,
  sources ? flakeSources,
}:
{
  website = pkgs.callPackage ./nix/package.nix { };
}