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";