From c05123ba4ae325d64dcebdd8ab1888d6397eb590 Mon Sep 17 00:00:00 2001 From: noisersup Date: Wed, 20 Sep 2023 21:10:02 +0200 Subject: [PATCH] glasgow: include udev rules --- pkgs/tools/misc/glasgow/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/misc/glasgow/default.nix b/pkgs/tools/misc/glasgow/default.nix index a2c8019e190d..6db7296b64db 100644 --- a/pkgs/tools/misc/glasgow/default.nix +++ b/pkgs/tools/misc/glasgow/default.nix @@ -52,6 +52,11 @@ python3.pkgs.buildPythonApplication rec { # installCheck tries to build_ext again doInstallCheck = false; + postInstall = '' + mkdir -p $out/etc/udev/rules.d + cp $src/config/99-glasgow.rules $out/etc/udev/rules.d + ''; + checkPhase = '' ${python3.interpreter} -W ignore::DeprecationWarning test.py '';