2019-06-29 15:12:24 +02:00
|
|
|
# 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; };
|
2019-06-29 15:28:41 +02:00
|
|
|
tazjin.gemma = import ./services/gemma { inherit pkgs; };
|
2019-07-02 15:38:16 +02:00
|
|
|
|
|
|
|
thirdParty.gitAppraise = pkgs.callPackage ./third_party/go/git-appraise/git-appraise {};
|
2019-06-29 15:12:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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";
|
|
|
|
|
2019-07-04 12:15:59 +02:00
|
|
|
in { ... } @ args: import (builtins.fetchTarball nixpkgs) (args // {
|
2019-06-29 15:12:24 +02:00
|
|
|
overlays = [ localPkgs ];
|
2019-07-04 12:15:59 +02:00
|
|
|
})
|