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

font-awesome_4: Readd, font-awesome_5: 5.9.0 -> 5.10.0 #65240

Merged
merged 2 commits into from Jul 30, 2019

Conversation

JohnAZoidberg
Copy link
Member

Motivation for this change

Version 5 is incompatible for some icons, so projects that depend on it
need to actively convert the symbols, see:
greshake/i3status-rust#130

Reintroducing the old version lets us use those programs that haven't
been updated.

Was removed in 0a393f5

cc @Mic92 and @baldo

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@peterhoeg
Copy link
Member

The "nicer" way to solve this is a generic build function for font awesome that takes the version and sha256 as parameters (refer to to unifi or vala for some examples). Might also be good with a comment that explains why we have the _4 version.

let
version = "4.7.0";
in fetchzip rec {
name = "font-awesome-${version}";
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a concrete example, why we have this package? Then we can reevaluate in future if we still need the old version.

Version 5 is incompatible for some icons, so projects that depend on it
need to actively convert the symbols, see:
greshake/i3status-rust#130

Reintroducing the old version lets us use those programs that haven't
been updated.

Was removed in 0a393f5
@JohnAZoidberg
Copy link
Member Author

JohnAZoidberg commented Jul 29, 2019

What about this? :)
Took the opportunity to upgrade to the latest v5 release from earlier today.

@JohnAZoidberg JohnAZoidberg changed the title font-awesome_4: Was removed, add again font-awesome_4: Readd, font-awesome_5: 5.9.0 -> 5.10.0 Jul 29, 2019
@Mic92 Mic92 merged commit 344f052 into NixOS:master Jul 30, 2019
@xrelkd xrelkd mentioned this pull request Jul 30, 2019
10 tasks
@JohnAZoidberg JohnAZoidberg deleted the fontawesome-4 branch July 30, 2019 08:48
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.

None yet

3 participants