mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 13:42:23 +00:00
15 lines
366 B
Nix
15 lines
366 B
Nix
|
{ nixGL, symlinkJoin, makeWrapper, writeScriptBin, alacritty }:
|
||
|
let
|
||
|
wrapped =
|
||
|
writeScriptBin "alacritty" ''
|
||
|
writeScriptBin "alacritty"
|
||
|
#!/bin/sh
|
||
|
exec ${nixGL.nixGLIntel}/bin/nixGLIntel ${alacritty}/bin/alacritty "$@"
|
||
|
'';
|
||
|
in
|
||
|
symlinkJoin {
|
||
|
name = "alacritty";
|
||
|
nativeBuildInputs = [ makeWrapper ];
|
||
|
paths = [ wrapped alacritty ];
|
||
|
}
|