feat(build): Add top-level package index file
This commit is contained in:
parent
5c3ac08fcf
commit
4cefb9256a
1 changed files with 17 additions and 0 deletions
17
default.nix
Normal file
17
default.nix
Normal file
|
@ -0,0 +1,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 ];
|
||||
}
|
Loading…
Reference in a new issue