From 208d56adb2ac20a84449c9d9c3465f4aad6daea5 Mon Sep 17 00:00:00 2001 From: Florian Agbuya Date: Wed, 20 Mar 2024 13:40:09 +0800 Subject: [PATCH] fix linien-server red pitaya dependencies --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index 45cbf69..184ad5c 100644 --- a/flake.nix +++ b/flake.nix @@ -93,6 +93,12 @@ pyproject = true; inherit (pkgs.python3Packages.linien-common) src version; sourceRoot = "source/linien-server"; + postPatch = '' + substituteInPlace linien_server/acquisition.py \ + --replace " start_nginx()" "" \ + --replace " stop_nginx()" "" \ + --replace " flash_fpga()" "" + ''; nativeBuildInputs = [ pkgs.python3Packages.setuptools ]; propagatedBuildInputs = with pkgs.python3Packages; [ appdirs -- 2.47.0