summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarek Mahut <marek.mahut@gmail.com>2019-09-01 15:11:16 +0200
committerGitHub <noreply@github.com>2019-09-01 15:11:16 +0200
commit80345739347643ffbece29bd3644e7343a52d4d6 (patch)
treed91d1098281efb2db18e7fd3b772e036ffd80b15
parent72646582a477c7f8666ebfffe1b970487d2d3b93 (diff)
parenta39eb9dda475c568f0c0f593c316bdbca2f913e2 (diff)
downloadnixpkgs-80345739347643ffbece29bd3644e7343a52d4d6.tar
nixpkgs-80345739347643ffbece29bd3644e7343a52d4d6.tar.gz
nixpkgs-80345739347643ffbece29bd3644e7343a52d4d6.tar.bz2
nixpkgs-80345739347643ffbece29bd3644e7343a52d4d6.tar.lz
nixpkgs-80345739347643ffbece29bd3644e7343a52d4d6.tar.xz
nixpkgs-80345739347643ffbece29bd3644e7343a52d4d6.tar.zst
nixpkgs-80345739347643ffbece29bd3644e7343a52d4d6.zip
Merge pull request #67881 from prusnak/python-trezor
pythonPackages.trezor: fix typo (pyarg vs pyargs)
-rw-r--r--pkgs/development/python-modules/trezor/default.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/trezor/default.nix b/pkgs/development/python-modules/trezor/default.nix
index 47aa23ca114..9b7dc424ddc 100644
--- a/pkgs/development/python-modules/trezor/default.nix
+++ b/pkgs/development/python-modules/trezor/default.nix
@@ -26,9 +26,6 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [ typing-extensions protobuf hidapi ecdsa mnemonic requests pyblake2 click construct libusb1 rlp shamir-mnemonic ];
 
-  # build requires UTF-8 locale
-  LANG = "en_US.UTF-8";
-
   checkInputs = [
     pytest
   ];
@@ -36,7 +33,7 @@ buildPythonPackage rec {
   # disable test_tx_api.py as it requires being online
   checkPhase = ''
     runHook preCheck
-    ${python.interpreter} -m pytest --pyarg trezorlib.tests.unit_tests --ignore trezorlib/tests/unit_tests/test_tx_api.py
+    ${python.interpreter} -m pytest --pyargs trezorlib.tests.unit_tests --ignore trezorlib/tests/unit_tests/test_tx_api.py
     runHook postCheck
   '';