about summary refs log tree commit diff
path: root/default.nix
blob: a95d0e0f4d6eaee77844f0409766189a9e1aeb61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This file sets up the top-level package set by merging all local
# packages into the nixpkgs top-level.

let
  localPkgs = super: pkgs: {
    tazjin.tazblog = import ./services/tazblog { inherit pkgs; };
  };

  # TODO(tazjin): It might be preferable to pin a specific commit of
  # nixpkgs, but for now the assumption will be that a single release
  # channel is reasonably stable.
  nixpkgsVersion = "nixos-19.03";
  nixpkgs = "https://github.com/NixOS/nixpkgs-channels/archive/${nixpkgsVersion}.tar.gz";

in import (builtins.fetchTarball nixpkgs) {
    overlays = [ localPkgs ];
}