3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.twisted: fix cross

can't use emulator because shebangs break emulation
This commit is contained in:
Adam Joseph 2023-04-14 00:03:31 -07:00 committed by Artturin
parent 5e4d67d293
commit c0014f0fca

View file

@ -142,7 +142,7 @@ buildPythonPackage rec {
# Generate Twisted's plug-in cache. Twisted users must do it as well. See
# http://twistedmatrix.com/documents/current/core/howto/plugin.html#auto3
# and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477103 for details.
postFixup = ''
postFixup = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
$out/bin/twistd --help > /dev/null
'';