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

chore: remove deprecations for mkPackageOptionMD #1009

Closed
wants to merge 9 commits into from

Conversation

nklmilojevic
Copy link
Contributor

mkPackageOptionMD will be deprecated in nix 25.05, changing it to reflect this.

Copy link
Contributor

@Samasaur1 Samasaur1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're removing mkPackageOptionMD from the inherit statement, but not from where it's actually used (line 27)

Copy link
Collaborator

@Enzime Enzime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Can you squash it into one commit?

ian-h-chamberlain and others added 9 commits July 22, 2024 13:33
As explained in the changelog and activation check, the previous
implementation had a nasty security bug that made removing a user’s
authorized keys effectively a no‐op.
This is a huge anti‐declarative footgun; `copy` files cannot
distinguish if a previous version is managed by nix-darwin, so they
can’t check the hash, so they’re prone to destroying data, and
copied files are not deleted when they’re removed from the system
configuration, which led to a security bug. Nothing else in‐tree
was using this functionality, so let’s make sure it doesn’t
cause any more bugs.
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
- Added the jankyborders service.
- Introduced changes for whitelist and blacklist options and assertions.
- emoved path reference from launchd argument.
- Corrected missing trailing newline in default.nix.

chore: remove deprecations
@nklmilojevic
Copy link
Contributor Author

whoops, I did a wrong force push. Let me open up a normal PR, this one is not in good condition, apologies.

@nklmilojevic nklmilojevic deleted the patch-1 branch July 22, 2024 11:35
@nklmilojevic
Copy link
Contributor Author

#1011 added a new PR here

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.

8 participants