mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 11:22:23 +00:00
14 lines
366 B
Nix
14 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 ];
|
|
}
|