32 lines
580 B
Nix
32 lines
580 B
Nix
{ ... }:
|
|
res: pkgs: super:
|
|
|
|
with pkgs;
|
|
{
|
|
w3m = callPackage ./. { };
|
|
|
|
# Should always be the version with the most features
|
|
w3m-full = w3m;
|
|
|
|
# Version without X11
|
|
w3m-nox = w3m.override {
|
|
x11Support = false;
|
|
imlib2 = imlib2-nox;
|
|
};
|
|
|
|
# Version without X11 or graphics
|
|
w3m-nographics = w3m.override {
|
|
x11Support = false;
|
|
graphicsSupport = false;
|
|
};
|
|
|
|
# Version for batch text processing, not a good browser
|
|
w3m-batch = w3m.override {
|
|
graphicsSupport = false;
|
|
mouseSupport = false;
|
|
x11Support = false;
|
|
imlib2 = imlib2-nox;
|
|
};
|
|
|
|
}
|