about summary refs log tree commit diff
path: root/users/multi/pkgs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/multi/pkgs/default.nix')
-rw-r--r--users/multi/pkgs/default.nix15
1 files changed, 11 insertions, 4 deletions
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;
+  }