tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nntp-proxy: fix clang build
Daiderd Jordan
8 years ago
8554eafb
0504dd6f
+6
-4
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
nntp-proxy
default.nix
+6
-4
pkgs/applications/networking/nntp-proxy/default.nix
···
11
11
sha256 = "0jwxh71am83fbnq9mn06jl06rq8qybm506js79xmmc3xbk5pqvy4";
12
12
};
13
13
14
14
-
buildInputs = [ libconfig pkgconfig libevent openssl ];
14
14
+
nativeBuildInputs = [ pkgconfig ];
15
15
+
buildInputs = [ libconfig libevent openssl ];
15
16
16
16
-
installFlags = "INSTALL_DIR=\${out}/bin/";
17
17
+
installFlags = [ "INSTALL_DIR=$(out)/bin/" ];
17
18
18
18
-
preInstall = ''
19
19
+
prePatch = ''
19
20
mkdir -p $out/bin
20
21
substituteInPlace Makefile \
21
21
-
--replace /usr/bin/install $(type -P install)
22
22
+
--replace /usr/bin/install $(type -P install) \
23
23
+
--replace gcc cc
22
24
'';
23
25
24
26
meta = {