diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 12:22:50 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 12:22:50 +0100 |
commit | 3ae47a343c2aecaa841ac7d9ac877cd535286d0c (patch) | |
tree | d0c658eb6fdd057ae9808d45c9a48e0f67756a60 /pkgs/os-specific | |
parent | 11aa8b3b89eadfc17e31fb4c4c764ff882856a3c (diff) |
dmtcp: stay with python2
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/dmtcp/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/dmtcp/default.nix b/pkgs/os-specific/linux/dmtcp/default.nix index 21458daf966f..5a472c73578a 100644 --- a/pkgs/os-specific/linux/dmtcp/default.nix +++ b/pkgs/os-specific/linux/dmtcp/default.nix @@ -1,4 +1,6 @@ -{ lib, stdenv, fetchFromGitHub, bash, perl, python }: +{ lib, stdenv, fetchFromGitHub, bash, perl, python2 }: + +# There are fixes for python3 compatibility on master stdenv.mkDerivation rec { pname = "dmtcp"; @@ -28,7 +30,7 @@ stdenv.mkDerivation rec { substituteInPlace test/autotest.py \ --replace /bin/bash ${bash}/bin/bash \ --replace /usr/bin/perl ${perl}/bin/perl \ - --replace /usr/bin/python ${python}/bin/python \ + --replace /usr/bin/python ${python2}/bin/python \ --replace "os.environ['USER']" "\"nixbld1\"" \ --replace "os.getenv('USER')" "\"nixbld1\"" ''; |