mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
parent
d484f2b7fc
commit
8a0c8b3085
1 changed files with 12 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
{ stdenv, fetchurl
|
||||
{ lib, stdenv, fetchurl
|
||||
, pkgconfig, wrapGAppsHook
|
||||
, glib, glib-networking, gsettings-desktop-schemas, gtk, libsoup, webkitgtk
|
||||
, xorg, dmenu, findutils, gnused, coreutils
|
||||
, patches ? null
|
||||
}:
|
||||
|
||||
|
@ -20,6 +21,16 @@ stdenv.mkDerivation rec {
|
|||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
# Add run-time dependencies to PATH. Append them to PATH so the user can
|
||||
# override the dependencies with their own PATH.
|
||||
preFixup = let
|
||||
depsPath = lib.makeBinPath [ xorg.xprop dmenu findutils gnused coreutils ];
|
||||
in ''
|
||||
gappsWrapperArgs+=(
|
||||
--suffix PATH : ${depsPath}
|
||||
)
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A simple web browser based on WebKit/GTK";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue