mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 05:42:22 +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 ];
|
|
}
|