ghostty: add shaders derivation
This commit is contained in:
parent
4ffecbac0c
commit
8a0a7d444c
3 changed files with 24 additions and 1 deletions
18
outputs/pkgs/ghostty-shaders/default.nix
Normal file
18
outputs/pkgs/ghostty-shaders/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
fetchFromGitHub,
|
||||
stdenvNoCC,
|
||||
...
|
||||
}:
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "ghostty-shaders";
|
||||
src = fetchFromGitHub {
|
||||
owner = "m-ahdal";
|
||||
repo = "ghostty-shaders";
|
||||
rev = "ec29c83d81ebe7e9ca9250b3c799a2d700c1cca8";
|
||||
sha256 = "sha256-8D0H13JzCTzgzjzjERQG8ruayeHn1CPcRsd+KtC6nj4=";
|
||||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
mv *.glsl $out
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue