Created
October 27, 2020 14:15
-
-
Save darwin/04dc3385a5cf33a37765f012e70bae70 to your computer and use it in GitHub Desktop.
Revisions
-
darwin created this gist
Oct 27, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ ❯ nix-shell --show-trace controller/shell.nix --run 'python controller/main.py' error: while evaluating the attribute 'buildInputs' of the derivation 'trezor-user-env-controller' at /Users/darwin/farm/trezor-user-env/controller/shell.nix:23:5: while evaluating the attribute 'passAsFile' of the derivation 'python3-3.8.5-env' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/build-support/trivial-builders.nix:7:7: while evaluating 'requiredPythonModules' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/development/interpreters/python/wrapper.nix:15:13: while evaluating 'unique' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/lib/lists.nix:643:12, called from /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/top-level/python-packages.nix:66:6: while evaluating 'unique' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/lib/lists.nix:643:12, called from /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/lib/lists.nix:649:17: while evaluating anonymous function at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/lib/lists.nix:152:16, called from undefined position: while evaluating the attribute '__impureHostDeps' of the derivation 'python3.8-trezor-0.12.2' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/development/interpreters/python/mk-python-derivation.nix:108:5: while evaluating 'unique' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/lib/lists.nix:643:12, called from /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/stdenv/generic/make-derivation.nix:181:9: while evaluating anonymous function at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/stdenv/generic/make-derivation.nix:181:36, called from /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/stdenv/generic/make-derivation.nix:181:21: while evaluating 'chooseDevOutputs' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/lib/attrsets.nix:475:22, called from undefined position: while evaluating anonymous function at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/lib/lists.nix:152:16, called from undefined position: while evaluating the attribute 'handled' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/stdenv/generic/check-meta.nix:256:7: while evaluating 'handleEvalIssue' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/stdenv/generic/check-meta.nix:152:38, called from /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/stdenv/generic/check-meta.nix:257:14: Package ‘trezor-udev-rules-unstable-2019-07-17’ in /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/os-specific/linux/trezor-udev-rules/default.nix:27 is not supported on ‘x86_64-darwin’, refusing to evaluate. a) For `nixos-rebuild` you can set { nixpkgs.config.allowUnsupportedSystem = true; } in configuration.nix to override this. b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowUnsupportedSystem = true; } to ~/.config/nixpkgs/config.nix.