From a5ee01a827e30c048d98fc2121c5c292122d9d3a Mon Sep 17 00:00:00 2001 From: multi Date: Sun, 22 Nov 2020 20:12:16 +0000 Subject: 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 --- users/multi/pkgs/.skip-subtree | 0 users/multi/pkgs/default.nix | 15 +++++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 users/multi/pkgs/.skip-subtree (limited to 'users/multi') diff --git a/users/multi/pkgs/.skip-subtree b/users/multi/pkgs/.skip-subtree new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/users/multi/pkgs/default.nix b/users/multi/pkgs/default.nix index e98ed735c433..ee30a106917d 100644 --- a/users/multi/pkgs/default.nix +++ b/users/multi/pkgs/default.nix @@ -1,6 +1,13 @@ -{ pkgs, ... }: +{ depot, pkgs, ... }: -let - htop = import ./htop { inherit pkgs; }; +let + nixpkgs = import pkgs.nixpkgsSrc {}; + localpkg = path: import path { pkgs = nixpkgs; }; + + packages = { + htop = localpkg ./htop; + }; in - [ htop ] + packages // { + meta.targets = builtins.attrNames packages; + } -- cgit 1.4.1