diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5f79ddea816..a7dd02aaa31 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4206,6 +4206,11 @@ let # error: invalid command 'test' doCheck = false; + # patch only $out/bin to avoid problems with starter templates (see #3134) + postFixup = '' + wrapPythonProgramsIn $out/bin "$out $pythonPath" + ''; + meta = { description = "A high-level Python Web framework"; homepage = https://www.djangoproject.com/; @@ -4224,6 +4229,11 @@ let # error: invalid command 'test' doCheck = false; + # patch only $out/bin to avoid problems with starter templates (see #3134) + postFixup = '' + wrapPythonProgramsIn $out/bin "$out $pythonPath" + ''; + meta = { description = "A high-level Python Web framework"; homepage = https://www.djangoproject.com/; @@ -4242,6 +4252,11 @@ let # error: invalid command 'test' doCheck = false; + # patch only $out/bin to avoid problems with starter templates (see #3134) + postFixup = '' + wrapPythonProgramsIn $out/bin "$out $pythonPath" + ''; + meta = { description = "A high-level Python Web framework"; homepage = https://www.djangoproject.com/; @@ -4260,6 +4275,11 @@ let # error: invalid command 'test' doCheck = false; + # patch only $out/bin to avoid problems with starter templates (see #3134) + postFixup = '' + wrapPythonProgramsIn $out/bin "$out $pythonPath" + ''; + meta = { description = "A high-level Python Web framework"; homepage = https://www.djangoproject.com/; @@ -4277,6 +4297,11 @@ let # error: invalid command 'test' doCheck = false; + # patch only $out/bin to avoid problems with starter templates (see #3134) + postFixup = '' + wrapPythonProgramsIn $out/bin "$out $pythonPath" + ''; + meta = { description = "A high-level Python Web framework"; homepage = https://www.djangoproject.com/;