ponysay: fix SyntaxWarning (#357413)
This commit is contained in:
commit
1f197e6da2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user