forked from M-Labs/nix-servo
use fast-servo csrmap
This commit is contained in:
parent
fc71fe0ab3
commit
7d5fbdd281
@ -125,6 +125,7 @@
|
|||||||
inherit (pkgs.python3Packages.linien-common) src version;
|
inherit (pkgs.python3Packages.linien-common) src version;
|
||||||
sourceRoot = "source/linien-server";
|
sourceRoot = "source/linien-server";
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
cp ${fast-servo-gateware}/csrmap.py linien_server/csrmap.py
|
||||||
substituteInPlace linien_server/acquisition.py \
|
substituteInPlace linien_server/acquisition.py \
|
||||||
--replace " start_nginx()" "" \
|
--replace " start_nginx()" "" \
|
||||||
--replace " stop_nginx()" "" \
|
--replace " stop_nginx()" "" \
|
||||||
@ -175,6 +176,7 @@
|
|||||||
mkdir -p $out $out/nix-support
|
mkdir -p $out $out/nix-support
|
||||||
cp gateware/build/top.bit $out
|
cp gateware/build/top.bit $out
|
||||||
cp linien-server/linien_server/gateware.bin $out
|
cp linien-server/linien_server/gateware.bin $out
|
||||||
|
cp linien-server/linien_server/csrmap.py $out
|
||||||
echo file binary-dist $out/top.bit >> $out/nix-support/hydra-build-products
|
echo file binary-dist $out/top.bit >> $out/nix-support/hydra-build-products
|
||||||
echo file binary-dist $out/gateware.bin >> $out/nix-support/hydra-build-products
|
echo file binary-dist $out/gateware.bin >> $out/nix-support/hydra-build-products
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user