dmtcp: 2.5.0 -> 2.5.1
This commit is contained in:
parent
3d325000ab
commit
04f456ef94
@ -1,19 +1,21 @@
|
|||||||
{ stdenv, fetchFromGitHub }:
|
{ stdenv, fetchFromGitHub, bash, perl, python }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dmtcp-${version}";
|
name = "dmtcp-${version}";
|
||||||
version = "2.5.0";
|
version = "2.5.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dmtcp";
|
owner = "dmtcp";
|
||||||
repo = "dmtcp";
|
repo = "dmtcp";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "08l774i8yp41j6kmzhj7x13475m5kdfhn678ydpm5cbg4l3dda3c";
|
sha256 = "1z6cc7avs2sj8csf7rapf7nbw0giva6xpj0cshv7p9s643y8yxmi";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontDisableStatic = true;
|
dontDisableStatic = true;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
patchShebangs .
|
||||||
|
|
||||||
substituteInPlace configure \
|
substituteInPlace configure \
|
||||||
--replace '#define ELF_INTERPRETER "$interp"' \
|
--replace '#define ELF_INTERPRETER "$interp"' \
|
||||||
"#define ELF_INTERPRETER \"$(cat $NIX_CC/nix-support/dynamic-linker)\""
|
"#define ELF_INTERPRETER \"$(cat $NIX_CC/nix-support/dynamic-linker)\""
|
||||||
@ -25,16 +27,13 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace util/gdb-add-symbol-file \
|
substituteInPlace util/gdb-add-symbol-file \
|
||||||
--replace /bin/bash ${stdenv.shell}
|
--replace /bin/bash ${stdenv.shell}
|
||||||
substituteInPlace test/autotest.py \
|
substituteInPlace test/autotest.py \
|
||||||
--replace /usr/bin/env $(type -p env) \
|
--replace /bin/bash ${bash}/bin/bash \
|
||||||
--replace /bin/bash $(type -p bash) \
|
--replace /usr/bin/perl ${perl}/bin/perl \
|
||||||
--replace /usr/bin/perl $(type -p perl) \
|
--replace /usr/bin/python ${python}/bin/python \
|
||||||
--replace /usr/bin/python $(type -p python) \
|
|
||||||
--replace "os.environ['USER']" "\"nixbld1\"" \
|
--replace "os.environ['USER']" "\"nixbld1\"" \
|
||||||
--replace "os.getenv('USER')" "\"nixbld1\""
|
--replace "os.getenv('USER')" "\"nixbld1\""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Distributed MultiThreaded Checkpointing";
|
description = "Distributed MultiThreaded Checkpointing";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user