diff --git a/pkgs/by-name/po/ponysay/package.nix b/pkgs/by-name/po/ponysay/package.nix index 0b374e1efba13..f58d78285d7fb 100644 --- a/pkgs/by-name/po/ponysay/package.nix +++ b/pkgs/by-name/po/ponysay/package.nix @@ -23,6 +23,9 @@ stdenv.mkDerivation rec { substituteInPlace setup.py --replace \ "fileout.write(('#!/usr/bin/env %s\n' % env).encode('utf-8'))" \ "fileout.write(('#!%s/bin/%s\n' % (os.environ['python3'], env)).encode('utf-8'))" + substituteInPlace src/balloon.py --replace-fail \ + $'\'\'\'\n Constructor' \ + $'r\'\'\'\n Constructor' python3 setup.py --prefix=$out --freedom=partial install \ --with-shared-cache=$out/share/ponysay \ --with-bash