tvl-depot/users/multi/pkgs/default.nix
multi a5ee01a827 refactor(user/multi/pkgs): make my local package set readTree-compatible.
This adds readTree configuration for accessing my local package set,
and also adds these packages to the CI configuration.

Change-Id: Icd2d16e85859343902e73a466f3c6ba8d781537f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2131
Tested-by: BuildkiteCI
Reviewed-by: multi <depot@in-addr.xyz>
2020-11-22 20:29:47 +00:00

13 lines
239 B
Nix

{ depot, pkgs, ... }:
let
nixpkgs = import pkgs.nixpkgsSrc {};
localpkg = path: import path { pkgs = nixpkgs; };
packages = {
htop = localpkg ./htop;
};
in
packages // {
meta.targets = builtins.attrNames packages;
}