tvl-depot/default.nix
Vincent Ambo a20daf8726 chore(nix): Remove overridden GHC
We're not going down the Bazel route here, so this is not going to be
necessary.
2019-08-15 16:07:28 +01:00

25 lines
1,007 B
Nix

# This file sets up the top-level package set by merging all local packages into
# the nixpkgs top-level.
#
# This makes packages accessible via the Nixery instance that is configured to
# use this repository as its nixpkgs source.
let
localPkgs = super: pkgs: {
# Local projects should be added here:
tazblog = import ./services/tazblog { inherit pkgs; };
gemma = import ./services/gemma { inherit pkgs; };
# Third-party projects (either vendored or modified from nixpkgs) go here:
gitAppraise = pkgs.callPackage ./third_party/go/git-appraise/git-appraise {};
};
# The pinned commit here is identical to the public nixery.dev
# version, since popularity data has been generated for that.
nixpkgsVersion = "88d9f776091896cfe57dc6fbdf246e7d27d5f105";
nixpkgs = "https://github.com/NixOS/nixpkgs-channels/archive/${nixpkgsVersion}.tar.gz";
in { ... } @ args: import (builtins.fetchTarball nixpkgs) (args // {
overlays = [ localPkgs ];
config.allowUnfree = true;
})