1
0
Fork 0

phaser: remove inappropriate load-after-build code

This commit is contained in:
Sebastien Bourdeauducq 2020-11-09 13:45:36 +08:00
parent 0a11450df3
commit 777b9dbecd
1 changed files with 5 additions and 0 deletions

View File

@ -82,6 +82,11 @@ in
phaser-fpga = pkgs.stdenv.mkDerivation {
name = "phaser-fpga";
src = <phaserSrc>;
patchPhase = ''
substituteInPlace phaser.py \
--replace "source ../load.tcl" \
""
'';
buildInputs = [ (pkgs.python3.withPackages(ps: [ artiqpkgs.migen artiqpkgs.misoc ])) ] ++ [ vivado ];
buildPhase = "python phaser.py";