@@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
1717 patchShebangs .
1818 '';
1919
20+ # TODO: remove this preConfigure hook after 5.2.0 since it is fixed upstream
21+ # see https://github.com/mozilla/rr/issues/2269
22+ preConfigure = ''substituteInPlace CMakeLists.txt --replace "std=c++11" "std=c++14"'';
23+
2024 nativeBuildInputs = [ pkgconfig ];
2125 buildInputs = [
2226 cmake libpfm zlib python2Packages.python python2Packages.pexpect which procps gdb capnproto
@@ -49,7 +53,7 @@ stdenv.mkDerivation rec {
4953 time the same execution is replayed.
5054 '';
5155
52− license = "custom";
56+ license = with stdenv.lib.licenses; [ mit bsd2 ];
5357 maintainers = with stdenv.lib.maintainers; [ pierron thoughtpolice ];
5458 platforms = stdenv.lib.platforms.x86;
5559 };