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
dracula-theme: 1.3.0 -> 2.0 and rename ant-dracula to dracula-theme #99704
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nix-review passes. Have left some comments
@@ -9088,6 +9088,12 @@ | |||
githubId = 508305; | |||
name = "Jaroslavas Pocepko"; | |||
}; | |||
vonfry = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the change to maintainer-list.nix
be in a separate commit titled "maintainers: add vonfry"
}; | ||
|
||
propagatedUserEnvPkgs = [ | ||
# gtk-engine-murrine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this isn't needed this shouldn't be here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think you've already removed this
@@ -18767,7 +18767,7 @@ in | |||
|
|||
ant-bloody-theme = callPackage ../data/themes/ant-theme/ant-bloody.nix { }; | |||
|
|||
ant-dracula-theme = callPackage ../data/themes/ant-theme/ant-dracula.nix { }; | |||
dracula-theme = callPackage ../data/themes/dracula-theme { }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will break existing configurations. Maybe there should be an error thrown when using the old package that tells you to use the new one and to change the theme name in your config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, typically you will log a warning for at least a couple of months.
Example:
Line 201 in 8b33d57
traceXMLVal = x: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the alias should add an appropriate warning
8774780
to
710a9b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the sort of change that should have a release note?
pkgs/top-level/aliases.nix
Outdated
@@ -738,4 +738,7 @@ mapAliases ({ | |||
/* Cleanup before 21.03 */ | |||
riot-desktop = throw "riot-desktop is now element-desktop!"; | |||
riot-web = throw "riot-web is now element-web"; | |||
|
|||
ant-dracula-theme = throw "ant-dracula-theme is now dracula-theme"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this mention that the theme name has changed. For example I will have to change my config here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, Thanks for doing this fix, I wasn't even aware there had been an update.
I'll look into release notes, but other than that nix-review passes and looks good to go
themeName = "Dracula"; | ||
version = "2.0"; | ||
in | ||
stdenv.mkDerivation rec { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stdenv.mkDerivation rec { | |
stdenv.mkDerivation { |
Sorry, small change I missed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Asked on irc and I don't think there's any need for release notes so should be good as is
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
||
propagatedUserEnvPkgs = [ | ||
gtk-engine-murrine | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is gtk-engine-murrine
removed? It seems that the gtk2 theme still depends on this engine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I checked the source again. It uses this in gnome-terminal, which I don't use. I have added it back.
ad9368b
to
0f1be68
Compare
Motivation for this change
Update package and rename it due to the upstream repo has been renamed.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)cc: @alexarice
fixes: #97655