feat(packages/inspect): add tool for finding outpath of package

This commit is contained in:
Mohammad Rafiq 2025-05-20 13:59:40 +08:00
parent 710551acb0
commit 6e3b835f8c
No known key found for this signature in database
2 changed files with 6 additions and 0 deletions

View file

@ -22,6 +22,7 @@
devenv
pantheon.rebuild
pantheon.edit
pantheon.inspect
];
home.persistence."/persist/home/rafiq".directories = [

View file

@ -0,0 +1,5 @@
{ pkgs, ... }:
pkgs.writeShellScriptBin "inspect" # sh
''
${pkgs.tree}/bin/tree $(nix eval --raw nixpkgs#$*.outPath)
''