From 777b9dbecd8934448fbfb1756e1469fb58df374c Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 9 Nov 2020 13:45:36 +0800 Subject: [PATCH] phaser: remove inappropriate load-after-build code --- gluelogic/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gluelogic/default.nix b/gluelogic/default.nix index 1458dec..27ffe20 100644 --- a/gluelogic/default.nix +++ b/gluelogic/default.nix @@ -82,6 +82,11 @@ in phaser-fpga = pkgs.stdenv.mkDerivation { name = "phaser-fpga"; src = ; + patchPhase = '' + substituteInPlace phaser.py \ + --replace "source ../load.tcl" \ + "" + ''; buildInputs = [ (pkgs.python3.withPackages(ps: [ artiqpkgs.migen artiqpkgs.misoc ])) ] ++ [ vivado ]; buildPhase = "python phaser.py";