1
0
Fork 0

fix homeless-shelter error

This commit is contained in:
Florian Agbuya 2024-03-01 16:11:12 +08:00 committed by sb10q
parent 506bbcc0db
commit 007ca18cab
1 changed files with 11 additions and 2 deletions

View File

@ -203,11 +203,20 @@
fast-servo/linien-fast-servo-server.patch
];
nativeBuildInputs = [
(pkgs.python3.withPackages(ps: [ migen misoc ps.linien-common ]))
(pkgs.python3.withPackages(ps: [
migen misoc
(ps.linien-common.overrideAttrs(oa: {
# config.py tries to access $HOME, but we do not need it for building gateware
postPatch = ''
echo > linien_common/config.py
echo > linien_common/__init__.py
'';
doCheck = false;
}))
]))
vivado
];
buildPhase = ''
export HOME=$(mktemp -d)
python -m gateware.fpga_image_helper -p fastservo
'';
installPhase = ''