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

nordic: complement buildInputs #261742

Merged
merged 1 commit into from
Oct 21, 2023
Merged

nordic: complement buildInputs #261742

merged 1 commit into from
Oct 21, 2023

Conversation

Cryolitia
Copy link
Member

@Cryolitia Cryolitia commented Oct 18, 2023

Description of changes

Complement buildInputs, which are essential for nordic, otherwise fault on sddm:

  • plasma-framework

  • qtgraphicaleffects

  • plasma-workspace

  • breeze-icons

image

CC maintainer: @romildo

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@Cryolitia
Copy link
Member Author

1 package built:
nordic

Result of nixpkgs-review pr 261742 run on x86_64-linux 1

1 package built:
  • nordic

@romildo
Copy link
Contributor

romildo commented Oct 21, 2023

It is a lot of new dependencies just for sddm. I suggest to make the installation of sddm optional. What do you think, @Cryolitia ?

@romildo
Copy link
Contributor

romildo commented Oct 21, 2023

It is a lot of new dependencies just for sddm. I suggest to make the installation of sddm optional. What do you think, @Cryolitia ?

We can consider this idea later. Merging as-is for now.

@romildo romildo merged commit 33f39fd into NixOS:master Oct 21, 2023
15 checks passed
@Cryolitia Cryolitia deleted the nordic branch October 25, 2023 15:09
@Cryolitia
Copy link
Member Author

It is a lot of new dependencies just for sddm. I suggest to make the installation of sddm optional. What do you think, @Cryolitia ?

Thanks for your time firstly.

I absolutely support it. I have noticed that you had done a lot of work after this PR. Is it already solved?

I noticed that you used propagatedUserEnvPkgs instead of buildInputs in https://github.com/NixOS/nixpkgs/pull/262552/files#diff-cbca472085afa11e13fe20c7ecd21fd62798afa6f1e11a44f34636150b0a9fc4R85 . But I have trouble to understand and could found little description about propagatedUserEnvPkgs, could you please explain it to me if you have time, I would appriciate it with honor.

@romildo
Copy link
Contributor

romildo commented Oct 27, 2023

I absolutely support it. I have noticed that you had done a lot of work after this PR. Is it already solved?

Yes, it is solved. But I am going to make another PR for a separate output for the sddm theme.

I noticed that you used propagatedUserEnvPkgs instead of buildInputs in https://github.com/NixOS/nixpkgs/pull/262552/files#diff-cbca472085afa11e13fe20c7ecd21fd62798afa6f1e11a44f34636150b0a9fc4R85 . But I have trouble to understand and could found little description about propagatedUserEnvPkgs, could you please explain it to me if you have time, I would appriciate it with honor.

In fact it is not well documented. I think because there is an attempt to deprecate it. See #43049.

It includes the listed packages in the environment. For binaries it is usually better to build wrappers that indicates where the dependencies can be found. But for other cases, like themes, that does not work.

Later on if I find a good explanation I tell you.

@romildo
Copy link
Contributor

romildo commented Oct 27, 2023

@Cryolitia maybe you want to review #263855.

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

Successfully merging this pull request may close these issues.

2 participants