configuration/packages/gh.nix
Andrew Kvalheim b7eabca46a Use resholve
2022-08-02 11:37:41 -07:00

13 lines
228 B
Nix

{ resholve
# Dependencies
, bash
, git
, gnugrep
}:
resholve.writeScriptBin "gh" {
interpreter = "${bash}/bin/bash";
inputs = [ git gnugrep ];
execer = [ "cannot:${git}/bin/git" ];
} (builtins.readFile ./resources/gh)