summary refs log tree commit diff
path: root/pkgs/tools/misc/glasgow
diff options
context:
space:
mode:
authornoisersup <patryk@kwiatek.xyz>2023-09-20 21:10:02 +0200
committerAustin Seipp <aseipp@pobox.com>2023-09-21 11:48:01 -0500
commitc05123ba4ae325d64dcebdd8ab1888d6397eb590 (patch)
treeb92f5189f1f7f204321b72581a17c47459065fb9 /pkgs/tools/misc/glasgow
parent9ce4d87dde7b572addfaf0cb4e22ebab42ce2d0d (diff)
downloadnixpkgs-c05123ba4ae325d64dcebdd8ab1888d6397eb590.tar
nixpkgs-c05123ba4ae325d64dcebdd8ab1888d6397eb590.tar.gz
nixpkgs-c05123ba4ae325d64dcebdd8ab1888d6397eb590.tar.bz2
nixpkgs-c05123ba4ae325d64dcebdd8ab1888d6397eb590.tar.lz
nixpkgs-c05123ba4ae325d64dcebdd8ab1888d6397eb590.tar.xz
nixpkgs-c05123ba4ae325d64dcebdd8ab1888d6397eb590.tar.zst
nixpkgs-c05123ba4ae325d64dcebdd8ab1888d6397eb590.zip
glasgow: include udev rules
Diffstat (limited to 'pkgs/tools/misc/glasgow')
-rw-r--r--pkgs/tools/misc/glasgow/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/misc/glasgow/default.nix b/pkgs/tools/misc/glasgow/default.nix
index a2c8019e190..6db7296b64d 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
   '';