about summary refs log tree commit diff
path: root/users/multi
diff options
context:
space:
mode:
Diffstat (limited to 'users/multi')
-rw-r--r--users/multi/pkgs/.skip-subtree0
-rw-r--r--users/multi/pkgs/default.nix15
2 files changed, 11 insertions, 4 deletions
diff --git a/users/multi/pkgs/.skip-subtree b/users/multi/pkgs/.skip-subtree
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/users/multi/pkgs/.skip-subtree
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;
+  }