From 922af1cd2d11715433b58dd06f66dabecd418d17 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Tue, 27 Oct 2020 13:51:04 +0100 Subject: [PATCH] python3Packages.trezor: make udev rules dependency linux-only --- pkgs/development/python-modules/trezor/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/trezor/default.nix b/pkgs/development/python-modules/trezor/default.nix index 0e0c6da021fb..bb85ca6b6f3c 100644 --- a/pkgs/development/python-modules/trezor/default.nix +++ b/pkgs/development/python-modules/trezor/default.nix @@ -1,4 +1,5 @@ -{ lib +{ stdenv +, lib , buildPythonPackage , fetchPypi , isPy3k @@ -49,6 +50,7 @@ buildPythonPackage rec { rlp shamir-mnemonic typing-extensions + ] ++ lib.optionals stdenv.isLinux [ trezor-udev-rules ];