|
|
|
@ -4,13 +4,13 @@ |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "dmtcp"; |
|
|
|
|
version = "2.6.0"; |
|
|
|
|
version = "unstable-2021-03-01"; |
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub { |
|
|
|
|
owner = pname; |
|
|
|
|
repo = pname; |
|
|
|
|
rev = version; |
|
|
|
|
sha256 = "01skyhr573w1dygvkwz66lvir2jsq443fjwkysglwxvmrdfz9kwd"; |
|
|
|
|
rev = "f999adbb8e88fe452a0e57ceb43b6eed7b4409f9"; |
|
|
|
|
sha256 = "sha256-codCHQui3fGfUZSNq8GuH4ad/GjD6I/S9rX83o8oFPc="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
dontDisableStatic = true; |
|
|
|
@ -23,9 +23,9 @@ stdenv.mkDerivation rec { |
|
|
|
|
substituteInPlace configure \ |
|
|
|
|
--replace '#define ELF_INTERPRETER "$interp"' \ |
|
|
|
|
"#define ELF_INTERPRETER \"$(cat $NIX_CC/nix-support/dynamic-linker)\"" |
|
|
|
|
substituteInPlace src/dmtcp_coordinator.cpp \ |
|
|
|
|
substituteInPlace src/restartscript.cpp \ |
|
|
|
|
--replace /bin/bash ${stdenv.shell} |
|
|
|
|
substituteInPlace util/gdb-add-symbol-file \ |
|
|
|
|
substituteInPlace util/dmtcp_restart_wrapper.sh \ |
|
|
|
|
--replace /bin/bash ${stdenv.shell} |
|
|
|
|
substituteInPlace test/autotest.py \ |
|
|
|
|
--replace /bin/bash ${bash}/bin/bash \ |
|
|
|
|