et: fix build with clang

This commit is contained in:
Daiderd Jordan 2017-09-09 23:42:16 +02:00
parent 479c15b08b
commit c0e7983359
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
buildInputs = [ libnotify gdk_pixbuf ];
nativeBuildInputs = [ pkgconfig ];
prePatch = ''
substituteInPlace Makefile \
--replace ' = gcc' ' ?= gcc'
'';
installPhase = ''
mkdir -p $out/bin
cp et $out/bin