Skip to content

Commit

Permalink
dmtcp: 2.3.1 -> 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Mar 6, 2017
1 parent f8ad48e commit 46ba5ac
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions pkgs/os-specific/linux/dmtcp/default.nix
@@ -1,17 +1,23 @@
{stdenv, fetchurl, perl, python}:
# Perl and Python required by the test suite.
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
name = "dmtcp-${version}";
version = "2.5.0";

version = "2.3.1";
src = fetchFromGitHub {
owner = "dmtcp";
repo = "dmtcp";
rev = version;
sha256 = "08l774i8yp41j6kmzhj7x13475m5kdfhn678ydpm5cbg4l3dda3c";
};

buildInputs = [ perl python ];
dontDisableStatic = true;

src = fetchurl {
url = "mirror://sourceforge/dmtcp/dmtcp-${version}.tar.gz";
sha256 = "1f83ae112e102d4fbf69dded0dfaa6daeb60c4c0c569297553785a876e95ba15";
};
postPatch = ''
substituteInPlace configure \
--replace '#define ELF_INTERPRETER "$interp"' \
"#define ELF_INTERPRETER \"$(cat $NIX_CC/nix-support/dynamic-linker)\""
'';

preConfigure = ''
substituteInPlace src/dmtcp_coordinator.cpp \
Expand Down

0 comments on commit 46ba5ac

Please sign in to comment.