Open dnkmmr69420 opened 1 year ago
At a guess it is due to this:
Prerequisites:
Ensure NixOS is installed
However, I have just tried this on my NixOS and I have the same error.
I'm getting the same thing, running NixOS on 22.11
Can be run with nix run github:nix-gui/nix-gui#nix-gui
(note the # part at the end).
Source: https://www.reddit.com/r/NixOS/comments/x33i77/comment/imnaeit/?utm_source=share&utm_medium=web2x&context=3
Can be run with
nix run github:nix-gui/nix-gui#nix-gui
(note the # part at the end). Source: https://www.reddit.com/r/NixOS/comments/x33i77/comment/imnaeit/?utm_source=share&utm_medium=web2x&context=3
It installs but throws error:
error: builder for '/nix/store/dlvqaczxk7r5x2n8hk25vlbx1jm508gw-python3.9-nix-gui-0.1.6.drv' failed with exit code 1;
last 10 log lines:
> nixui/tests/test_field_widgets.py::test_boolean_field_input[True]
> nixui/tests/test_field_widgets.py::test_boolean_field_input[True]
> nixui/tests/test_field_widgets.py::test_boolean_field_input[False]
> /build/d6ihcbcvkiqm7223yl46fba1zx70rmys-source/nixui/graphics/toggle_switch.py:78: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
> bsize = QtCore.QSize(self.width() - self.widget_height / 2, hback)
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info ============================
> FAILED tests/test_option_tree.py::test_benchmark__hash__ - Exception: 9587 ru...
> ======= 1 failed, 56 passed, 2 skipped, 10 warnings in 241.90s (0:04:01) =======
For full logs, run 'nix log /nix/store/dlvqaczxk7r5x2n8hk25vlbx1jm508gw-python3.9-nix-gui-0.1.6.drv'.
Having the same issue with NixOS 22.11.
[joe@nixos:~]$ nix run github:nix-gui/nix-gui
error: attribute 'defaultApp.x86_64-linux' should have type 'derivation'
This is a fresh install of NixOS that was installed today
Can be run with
nix run github:nix-gui/nix-gui#nix-gui
(note the # part at the end). Source: https://www.reddit.com/r/NixOS/comments/x33i77/comment/imnaeit/?utm_source=share&utm_medium=web2x&context=3It installs but throws error:
error: builder for '/nix/store/dlvqaczxk7r5x2n8hk25vlbx1jm508gw-python3.9-nix-gui-0.1.6.drv' failed with exit code 1; last 10 log lines: > nixui/tests/test_field_widgets.py::test_boolean_field_input[True] > nixui/tests/test_field_widgets.py::test_boolean_field_input[True] > nixui/tests/test_field_widgets.py::test_boolean_field_input[False] > /build/d6ihcbcvkiqm7223yl46fba1zx70rmys-source/nixui/graphics/toggle_switch.py:78: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python. > bsize = QtCore.QSize(self.width() - self.widget_height / 2, hback) > > -- Docs: https://docs.pytest.org/en/stable/warnings.html > =========================== short test summary info ============================ > FAILED tests/test_option_tree.py::test_benchmark__hash__ - Exception: 9587 ru... > ======= 1 failed, 56 passed, 2 skipped, 10 warnings in 241.90s (0:04:01) ======= For full logs, run 'nix log /nix/store/dlvqaczxk7r5x2n8hk25vlbx1jm508gw-python3.9-nix-gui-0.1.6.drv'.
I receive the same error when trying to install it this way, and the app then does't launch as a result.
I ran nix
--experimental-features 'nix-command flakes' run github:nix-gui/nix-gui
and I getattribute 'defaultApp.x86_64-linux' should have type 'derivation'
I am running fedora silverblue 37 and used this guide to install nix.