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

release: appease checkMeta by using string for schedulingPriority #1786

Closed
wants to merge 1 commit into from

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Jan 9, 2018

@grahamc
Copy link
Member

grahamc commented Jan 9, 2018 via email

@dtzWill
Copy link
Member Author

dtzWill commented Jan 9, 2018

It was probably made a string because the only instance of it in-tree is also a string: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/release/source-tarball.nix#L126

Curiously Nix's release.nix uses this as well, so ... neither type is right?! 📦

Just kidding, int clearly makes more sense here. Time to go fix it over on nixpkgs, then! :)

@edolstra
Copy link
Member

edolstra commented Jan 9, 2018

IIRC, once upon a time, meta attributes had to be strings, but that's no longer the case. DrvInfo::queryMetaInt() still accepts strings for backward compatibility.

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

Successfully merging this pull request may close these issues.

None yet

3 participants