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

nix-env to nix profile: maintain priorities #8956

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

elikoga
Copy link
Contributor

@elikoga elikoga commented Sep 9, 2023

nix profile does not set the original priority when converting from manifest.nix to manifest.json

It does now

Fixes #8903

@github-actions github-actions bot added the new-cli Relating to the "nix" command label Sep 9, 2023
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Sep 10, 2023
src/nix/profile.cc Outdated Show resolved Hide resolved
@fricklerhandwerk
Copy link
Contributor

It seems this slipped through the cracks. @iFreilicht you touched the tests last, could you help with resolving the conflict?

@iFreilicht
Copy link
Contributor

I did my best, see iFreilicht@ed9aac6.

Unfortunately, it seems packageInfo.queryMetaInt("priority", defaultPriority) always returns 5, so the test fails. For some reason, debugging artifacts aren't built anymore when I run make, so I can't step through the code to find out where the issue lies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: nix profile does not set the original priority when converting from manifest.nix to manifest.json
5 participants