1
0

pkgs/git-show-link: Add helper to display links to local git objects

This commit is contained in:
2025-03-06 20:05:08 +01:00
parent 26d1ddfaee
commit dbd16ed438
5 changed files with 101 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
{ pkgs, ... }:
pkgs.writeTextFile {
name = "git-show-link";
executable = true;
destination = "/bin/git-show-link";
allowSubstitutes = true;
preferLocalBuild = false;
text = ''
#!${pkgs.python3.withPackages (ps: with ps; [])}/bin/python3
${builtins.readFile ./git-show-link.py}
'';
}