mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
dwb: add wrapper and use GTK2 for plugin support
This commit is contained in:
parent
847a9a5c30
commit
52c8df4ad3
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, pkgconfig, makeWrapper, libsoup, webkit, gtk3, gnutls, json_c,
|
||||
{ stdenv, fetchgit, pkgconfig, makeWrapper, libsoup, webkitgtk2, gtk2, gnutls, json_c,
|
||||
m4, glib_networking, gsettings_desktop_schemas, dconf }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@ -10,12 +10,10 @@ stdenv.mkDerivation {
|
||||
sha256 = "04p9frsnh1qz067cw36anvr41an789fba839svdjrdva0f2751g8";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig makeWrapper gsettings_desktop_schemas libsoup webkit gtk3 gnutls json_c m4 ];
|
||||
buildInputs = [ pkgconfig makeWrapper gsettings_desktop_schemas libsoup webkitgtk2 gtk2 gnutls json_c m4 ];
|
||||
|
||||
# There are Xlib and gtk warnings therefore I have set Wno-error
|
||||
preBuild=''
|
||||
makeFlagsArray=(CPPFLAGS="-Wno-error" GTK=3 PREFIX=$out);
|
||||
'';
|
||||
makeFlags = ''PREFIX=$(out) GTK=2 CPPFLAGS="-Wno-error"'';
|
||||
|
||||
preFixup=''
|
||||
wrapProgram "$out/bin/dwb" \
|
||||
|
@ -8307,6 +8307,10 @@ let
|
||||
|
||||
dwb = callPackage ../applications/networking/browsers/dwb { dconf = gnome3.dconf; };
|
||||
|
||||
dwbWrapper = wrapFirefox
|
||||
{ browser = dwb; browserName = "dwb"; desktopName = "dwb";
|
||||
};
|
||||
|
||||
dwm = callPackage ../applications/window-managers/dwm {
|
||||
patches = config.dwm.patches or [];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user