feat(packages/inspect): add tool for finding outpath of package
This commit is contained in:
parent
710551acb0
commit
6e3b835f8c
2 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
devenv
|
||||
pantheon.rebuild
|
||||
pantheon.edit
|
||||
pantheon.inspect
|
||||
];
|
||||
|
||||
home.persistence."/persist/home/rafiq".directories = [
|
||||
|
|
5
packages/inspect/default.nix
Normal file
5
packages/inspect/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ pkgs, ... }:
|
||||
pkgs.writeShellScriptBin "inspect" # sh
|
||||
''
|
||||
${pkgs.tree}/bin/tree $(nix eval --raw nixpkgs#$*.outPath)
|
||||
''
|
Loading…
Add table
Add a link
Reference in a new issue