tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
purePackages.stllib: fix build with gcc 4.9 (ZHF)
Pascal Wittmann
10 years ago
e79a6375
4d154c33
+6
1 changed file
expand all
collapse all
unified
split
pkgs
development
pure-modules
stllib
default.nix
+6
pkgs/development/pure-modules/stllib/default.nix
···
10
10
sha256 = "1d550764fc2f8ba6ddbd1fbd3da2d6965b69e2c992747265d9ebe4f16aa5e455";
11
11
};
12
12
13
13
+
postPatch = ''
14
14
+
for f in pure-stlmap/{stlmap.cpp,stlmmap.cpp,stlhmap.cpp}; do
15
15
+
sed -i '1i\#include <cstddef>' $f
16
16
+
done
17
17
+
'';
18
18
+
13
19
buildInputs = [ pkgconfig ];
14
20
propagatedBuildInputs = [ pure ];
15
21
makeFlags = "libdir=$(out)/lib prefix=$(out)/";