mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 21:52:23 +00:00
30 lines
873 B
Nix
30 lines
873 B
Nix
{ nixGL, symlinkJoin, makeWrapper, writeScriptBin, alacritty, fetchFromGitHub, lib }:
|
|
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
|
|
#(alacritty.overrideAttrs (oldAttrs: rec {
|
|
#src = fetchFromGitHub {
|
|
#owner = "zenixls2";
|
|
#repo = "alacritty";
|
|
#rev = "ligature";
|
|
#sha256 = "00jyhq7wrb2jpzmif4mimbh6p3wwa7rd1chsdwcdi0j9i9w2jpkx";
|
|
#};
|
|
#cargoDeps = oldAttrs.cargoDeps.overrideAttrs (lib.const {
|
|
#name = "alacritty-vendor.tar.gz";
|
|
#inherit src;
|
|
#outputHash = "1sg1ay31x8n60j76vg7lg4a24vilv5wd9pgpwphzgf6arbyx7wpn";
|
|
#});
|
|
#}))
|
|
];
|
|
}
|