mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 12:05:50 +03:00
et: fix build with clang
This commit is contained in:
parent
479c15b08b
commit
c0e7983359
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ libnotify gdk_pixbuf ];
|
buildInputs = [ libnotify gdk_pixbuf ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
substituteInPlace Makefile \
|
||||||
|
--replace ' = gcc' ' ?= gcc'
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp et $out/bin
|
cp et $out/bin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue