We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 0504dd6 commit 8554eafCopy full SHA for 8554eaf
pkgs/applications/networking/nntp-proxy/default.nix
@@ -11,14 +11,16 @@ stdenv.mkDerivation rec {
11
sha256 = "0jwxh71am83fbnq9mn06jl06rq8qybm506js79xmmc3xbk5pqvy4";
12
};
13
14
- buildInputs = [ libconfig pkgconfig libevent openssl ];
+ nativeBuildInputs = [ pkgconfig ];
15
+ buildInputs = [ libconfig libevent openssl ];
16
- installFlags = "INSTALL_DIR=\${out}/bin/";
17
+ installFlags = [ "INSTALL_DIR=$(out)/bin/" ];
18
- preInstall = ''
19
+ prePatch = ''
20
mkdir -p $out/bin
21
substituteInPlace Makefile \
- --replace /usr/bin/install $(type -P install)
22
+ --replace /usr/bin/install $(type -P install) \
23
+ --replace gcc cc
24
'';
25
26
meta = {
0 commit comments