8000 attribute 'defaultApp.x86_64-linux' should have type 'derivation' · Issue #281 · nix-gui/nix-gui · GitHub
[go: up one dir, main page]

Skip to content

attribute 'defaultApp.x86_64-linux' should have type 'derivation' #281

Open

Description

@dnkmmr69420

I ran nix --experimental-features 'nix-command flakes' run github:nix-gui/nix-gui and I get attribute 'defaultApp.x86_64-linux' should have type 'derivation' I am running fedora silverblue 37 and used this guide to install nix.

Activity

  1. aquada commented on Jan 6, 2023

    @aquada

    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.

  2. Aidan-Chelig commented on Jan 26, 2023

    @Aidan-Chelig

    I'm getting the same thing, running NixOS on 22.11

  3. Zahrun commented on Jan 29, 2023

    @Zahrun

    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

  4. ca5ua1 commented on Mar 26, 2023

    @ca5ua1

    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'.
     
    
  5. warthunder1969 commented on Mar 27, 2023

    @warthunder1969

    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

  6. warthunder1969 commented on Mar 27, 2023

    @warthunder1969

    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'.
     
    

    I receive the same error when trying to install it this way, and the app then does't launch as a result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0