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
sha256 = "0jwxh71am83fbnq9mn06jl06rq8qybm506js79xmmc3xbk5pqvy4";
12
};
13
14
-
buildInputs = [ libconfig pkgconfig libevent openssl ];
0
15
16
-
installFlags = "INSTALL_DIR=\${out}/bin/";
17
18
-
preInstall = ''
19
mkdir -p $out/bin
20
substituteInPlace Makefile \
21
-
--replace /usr/bin/install $(type -P install)
0
22
'';
23
24
meta = {
···
11
sha256 = "0jwxh71am83fbnq9mn06jl06rq8qybm506js79xmmc3xbk5pqvy4";
12
};
13
14
+
nativeBuildInputs = [ pkgconfig ];
15
+
buildInputs = [ libconfig libevent openssl ];
16
17
+
installFlags = [ "INSTALL_DIR=$(out)/bin/" ];
18
19
+
prePatch = ''
20
mkdir -p $out/bin
21
substituteInPlace Makefile \
22
+
--replace /usr/bin/install $(type -P install) \
23
+
--replace gcc cc
24
'';
25
26
meta = {