forked from M-Labs/nix-scripts
phaser: remove inappropriate load-after-build code
This commit is contained in:
parent
0a11450df3
commit
777b9dbecd
|
@ -82,6 +82,11 @@ in
|
||||||
phaser-fpga = pkgs.stdenv.mkDerivation {
|
phaser-fpga = pkgs.stdenv.mkDerivation {
|
||||||
name = "phaser-fpga";
|
name = "phaser-fpga";
|
||||||
src = <phaserSrc>;
|
src = <phaserSrc>;
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace phaser.py \
|
||||||
|
--replace "source ../load.tcl" \
|
||||||
|
""
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ (pkgs.python3.withPackages(ps: [ artiqpkgs.migen artiqpkgs.misoc ])) ] ++ [ vivado ];
|
buildInputs = [ (pkgs.python3.withPackages(ps: [ artiqpkgs.migen artiqpkgs.misoc ])) ] ++ [ vivado ];
|
||||||
buildPhase = "python phaser.py";
|
buildPhase = "python phaser.py";
|
||||||
|
|
Loading…
Reference in New Issue