summary refs log tree commit diff
path: root/pkgs/os-specific/linux/dmtcp
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2021-03-25 12:22:50 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2021-03-25 12:22:50 +0100
commit3ae47a343c2aecaa841ac7d9ac877cd535286d0c (patch)
treed0c658eb6fdd057ae9808d45c9a48e0f67756a60 /pkgs/os-specific/linux/dmtcp
parent11aa8b3b89eadfc17e31fb4c4c764ff882856a3c (diff)
downloadnixpkgs-3ae47a343c2aecaa841ac7d9ac877cd535286d0c.tar
nixpkgs-3ae47a343c2aecaa841ac7d9ac877cd535286d0c.tar.gz
nixpkgs-3ae47a343c2aecaa841ac7d9ac877cd535286d0c.tar.bz2
nixpkgs-3ae47a343c2aecaa841ac7d9ac877cd535286d0c.tar.lz
nixpkgs-3ae47a343c2aecaa841ac7d9ac877cd535286d0c.tar.xz
nixpkgs-3ae47a343c2aecaa841ac7d9ac877cd535286d0c.tar.zst
nixpkgs-3ae47a343c2aecaa841ac7d9ac877cd535286d0c.zip
dmtcp: stay with python2
Diffstat (limited to 'pkgs/os-specific/linux/dmtcp')
-rw-r--r--pkgs/os-specific/linux/dmtcp/default.nix6
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 21458daf966..5a472c73578 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\""
   '';