patch the models code
This commit is contained in:
parent
f05abf03e3
commit
cd38e40596
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ in
|
|||
pname = "moa";
|
||||
version = source.date;
|
||||
inherit src;
|
||||
patchPhase = ''
|
||||
substituteInPlace moa/models.py --replace "engine, reflect=True" "autoload_with=engine"
|
||||
'';
|
||||
buildPhase = ''
|
||||
echo "#!/bin/sh" > start.sh
|
||||
echo "cd $out" >> start.sh
|
||||
|
|
Reference in a new issue