Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kdeApplications attribute is not defined #110617

Closed
alapshin opened this issue Jan 23, 2021 · 6 comments
Closed

kdeApplications attribute is not defined #110617

alapshin opened this issue Jan 23, 2021 · 6 comments
Labels
0.kind: bug Something is broken 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: qt/kde
Milestone

Comments

@alapshin
Copy link
Contributor

Describe the bug
When building system with configuration that installs KDE applications using kdeApplications.<appname> build fails with

error: --- UndefinedVarError ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
at: (17:5) in file: /nix/store/k8arnxqi994qk5klsvyrkhvflmg82mkf-source/users/alapshin/apps.nix

    16|     libreoffice-fresh
    17|     kdeApplications.ark
      |     ^
    18|     dolphin

undefined variable 'kdeApplications'
(use '--show-trace' to show detailed location information)

But if same application is specified without using kdeApplication prefix then build succeeds, however not every application is available directly from top-level scope.

Expected behavior
Applications should be available via kdeApplications scope

Additional context
It was working fine with nixpkgs at revision at b3616bd96400ce0252c241d76fcafb64389defc6.
If there is some way to bisect nixpkgs revisions when they are specified in flake.lock I would appreciate it. Then I can try to find commit that broke this using bisect.

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.9, NixOS, 21.03.20210122.b60a6af (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20201205_a5d85d0`
 - channels(root): `"nixos-21.03pre259923.c958c1b6b2f"`
 - channels(alapshin): `""`
 - nixpkgs: `/nix/store/d8rbyy2cprgx9v8iyjrak1hznpjjaqdq-source`
@alapshin alapshin added the 0.kind: bug Something is broken label Jan 23, 2021
@alapshin
Copy link
Contributor Author

alapshin commented Jan 24, 2021

I was able to pinpoint this issue to commit b209617 merged in #102168
There new set plasma5Packages is introduced. Using this set applications can be installed as plasma5Packages.ark instead of kdeApplications.ark.

@FRidh Could you please confirm if this is expected behavior or not?

@anund
Copy link
Contributor

anund commented Jan 25, 2021

It's also possible there's a scoping mistake. plasma5Packages.kdeApplications.ark will also work.

@FRidh
Copy link
Member

FRidh commented Jan 25, 2021

Moving kdeApplications was on purpose. I am not sure whether we should keep the subset kdeApplications, because it may be harder to override.

plasma5Packages is an alias to the libsForQt5 used to build the Plasma desktop.

@FRidh
Copy link
Member

FRidh commented Jan 25, 2021

There is still the task to link individual applications from top-level.

@FRidh FRidh added this to the 21.05 milestone Jan 25, 2021
@worldofpeace
Copy link
Contributor

Believe we also need to update Qt docs for nixpkgs?

@stale
Copy link

stale bot commented Jul 26, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: qt/kde
Projects
None yet
Development

No branches or pull requests

5 participants