pkgs/zutty: clean up a bit
This commit is contained in:
parent
62d7d6db0d
commit
14fb9a9aaa
@ -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 = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user