Skip to content

Commit

Permalink
nntp-proxy: fix clang build
Browse files Browse the repository at this point in the history
(cherry picked from commit 8554eaf)
  • Loading branch information
LnL7 committed Sep 15, 2017
1 parent 46a68c8 commit c90c295
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/applications/networking/nntp-proxy/default.nix
Expand Up @@ -11,14 +11,16 @@ stdenv.mkDerivation rec {
sha256 = "0jwxh71am83fbnq9mn06jl06rq8qybm506js79xmmc3xbk5pqvy4";
};

buildInputs = [ libconfig pkgconfig libevent openssl ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libconfig libevent openssl ];

installFlags = "INSTALL_DIR=\${out}/bin/";
installFlags = [ "INSTALL_DIR=$(out)/bin/" ];

preInstall = ''
prePatch = ''
mkdir -p $out/bin
substituteInPlace Makefile \
--replace /usr/bin/install $(type -P install)
--replace /usr/bin/install $(type -P install) \
--replace gcc cc
'';

meta = {
Expand Down

0 comments on commit c90c295

Please sign in to comment.