-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
[DRAFT] librewolf: init at 90.0.2 #132992
Conversation
| assert stdenv.cc.isGNU; | ||
| assert with lib.strings; ( | ||
| versionAtLeast stdenv.cc.version "4.9" | ||
| && !hasPrefix "6" stdenv.cc.version | ||
| && versionOlder stdenv.cc.version "11" | ||
| ); |
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.
Please use meta.broken for this kind of stuff.
| libPath = lib.makeLibraryPath [ | ||
| ffmpeg | ||
| libpulseaudio | ||
| ]; |
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.
| libPath = lib.makeLibraryPath [ | |
| ffmpeg | |
| libpulseaudio | |
| ]; |
|
|
||
| preFixup = '' | ||
| gappsWrapperArgs+=( | ||
| --prefix LD_LIBRARY_PATH : "${libPath}" |
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.
| --prefix LD_LIBRARY_PATH : "${libPath}" | |
| --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ ffmpeg libpulseaudio ]}" |
|
|
||
| # Remove unneeded SDK data from installation | ||
| # https://forum.palemoon.org/viewtopic.php?f=37&t=26796&p=214676#p214729 | ||
| rm -rf $out/{include,share/idl,lib/palemoon-devel-${version}} |
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.
| rm -rf $out/{include,share/idl,lib/palemoon-devel-${version}} | |
| rm -r $out/{include,share/idl,lib/palemoon-devel-${version}} |
| ] | ||
| ++ (with xorg; [ |
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.
| ] | |
| ++ (with xorg; [ | |
| ] ++ (with xorg; [ |
| gnum4 | ||
| perl | ||
| pkg-config | ||
| python2 |
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.
Do we really need to use python2?
|
I'd personally rather use firedragon. It seems to have more reasonable defaults. Surprised it hasn't been added to nixpkgs yet. |
|
i think this is done in #151439 |
Motivation for this change
Packaging Librewolf, a privacy oriented Firefox fork, as requested in this issue #94918 .
I created a new package since I'm unsure about integrating this as a Firefox sub-package. There are no existing Firefox forks yet, just ESR, developer and beta builds. Also the Firefox packages seems to complicated for me. Maybe we could move duplicate code into a general Gecko-browsers meta package with a future rework.
This PR is a draft. I copied the Palemoon package and trying to integrate Librewolf patches + Firefox config into this.
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)