pkgs/zutty: clean up a bit

This commit is contained in:
Aaron Bieber 2022-09-21 13:53:51 -06:00
parent 62d7d6db0d
commit 14fb9a9aaa
No known key found for this signature in database

View File

@ -11,27 +11,22 @@ stdenv.mkDerivation rec {
sha256 = "sha256-1eB5GDhWGwyhiKzxpepzjQ44Co0ZeL9JJI5ppPE1TJw="; sha256 = "sha256-1eB5GDhWGwyhiKzxpepzjQ44Co0ZeL9JJI5ppPE1TJw=";
}; };
patches = [ patches = [ ./zutty_go.diff ];
./zutty_go.diff
];
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
gcc gcc
pkg-config pkg-config
python python
wafHook wafHook
xlibsWrapper
xorg.libXmu xorg.libXmu
#xorg.libXau
#xorg.libXdmcp
libGL libGL
]; ];
buildInputs = with pkgs; [ freetype fontconfig ]; buildInputs = with pkgs; [ freetype fontconfig ];
prePatch = '' prePatch = ''
substituteInPlace src/options.h \ substituteInPlace src/options.h \
--replace "/usr/share/fonts" "${go-font}/share/fonts" --replace "/usr/share/fonts" "${go-font}/share/fonts"
''; '';
postInstall = '' postInstall = ''