Skip to content

Commit

Permalink
coz: 0.2.0 -> 0.2.1, fix build w/glibc-2.30
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 committed Jan 25, 2020
1 parent f5da399 commit a27af1a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/development/tools/analysis/coz/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a27af1a

Please sign in to comment.