coz: 0.2.0 -> 0.2.1, fix build w/glibc-2.30
This commit is contained in:
parent
f5da399062
commit
a27af1a593
@ -7,15 +7,19 @@
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "coz";
|
||||
version = "0.2.0";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "plasma-umass";
|
||||
repo = "coz";
|
||||
rev = version;
|
||||
sha256 = "0a55q3s8ih1r9x6fp7wkg3n5h1yd9pcwg74k33d1r94y3j3m0znr";
|
||||
sha256 = "0val36yw987b1558iiyk3nqg0yy5k9y5wh49v91zj3cs58mmfyhc";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e '/pid_t gettid/,+2d' libcoz/ccutil/thread.h
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
# This is currently hard-coded. Will be fixed in the next release.
|
||||
sed -e "s|/usr/lib/|$out/lib/|" -i ./coz
|
||||
|
Loading…
Reference in New Issue
Block a user