diff --git a/pkgs/development/ocaml-modules/ocaml-libvirt/default.nix b/pkgs/development/ocaml-modules/ocaml-libvirt/default.nix index 11405c0ebe5e..6a9e4e1d8c5c 100644 --- a/pkgs/development/ocaml-modules/ocaml-libvirt/default.nix +++ b/pkgs/development/ocaml-modules/ocaml-libvirt/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { autoconf ''; - buildPhase = if stdenv.cc.isClang then "make all opt CPPFLAGS=-Wno-error" else "make all opt"; + buildPhase = "make all opt CPPFLAGS=-Wno-error"; installPhase = "make install-opt";