mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
vimprobable2, surf: fix the settings-schemas problem
Note that they still segfault.
This commit is contained in:
parent
00e272a11c
commit
9ac8a16277
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, makeWrapper, gtk, webkit, pkgconfig, glib, glib_networking, libsoup, patches ? null}:
|
{stdenv, fetchurl, makeWrapper, gtk, webkit, pkgconfig, glib, glib_networking, libsoup, gsettings_desktop_schemas, patches ? null}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "surf-${version}";
|
name = "surf-${version}";
|
||||||
@ -19,10 +19,11 @@ stdenv.mkDerivation rec {
|
|||||||
# `-lX11' to make sure libX11's store path is in the RPATH
|
# `-lX11' to make sure libX11's store path is in the RPATH
|
||||||
NIX_LDFLAGS = "-lX11";
|
NIX_LDFLAGS = "-lX11";
|
||||||
preConfigure = [ ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'' ];
|
preConfigure = [ ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'' ];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
make PREFIX=/ DESTDIR=$out install
|
make PREFIX=/ DESTDIR=$out install
|
||||||
wrapProgram "$out/bin/surf" --prefix GIO_EXTRA_MODULES : \
|
wrapProgram "$out/bin/surf" \
|
||||||
${glib_networking}/lib/gio/modules
|
--prefix GIO_EXTRA_MODULES : ${glib_networking}/lib/gio/modules \
|
||||||
|
--prefix XDG_DATA_DIRS : "${gsettings_desktop_schemas}/share"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
{ stdenv, fetchurl, makeWrapper, glib_networking, gtk, libsoup, libX11, perl,
|
{ stdenv, fetchurl, makeWrapper, glib, glib_networking, gtk, libsoup, libX11, perl,
|
||||||
pkgconfig, webkit }:
|
pkgconfig, webkit, gsettings_desktop_schemas }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "vimprobable2-1.2.0";
|
version = "1.2.1";
|
||||||
|
name = "vimprobable2-${version}";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/vimprobable/vimprobable2_1.2.0.tar.bz2";
|
url = "mirror://sourceforge/vimprobable/vimprobable2_${version}.tar.bz2";
|
||||||
sha256 = "0fjakrmz1syjwgx01j2icpdv69jgvfl2nlxbj8zxfr8mw0h2wg1f";
|
sha256 = "19zx1k3s2gnhzzd2wpyqsk151w9p52ifl64xaz9a6qkgvrxlli8p";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Nixos default ca bundle
|
# Nixos default ca bundle
|
||||||
@ -17,8 +18,9 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
make PREFIX=/ DESTDIR=$out install
|
make PREFIX=/ DESTDIR=$out install
|
||||||
wrapProgram "$out/bin/vimprobable2" --prefix GIO_EXTRA_MODULES : \
|
wrapProgram "$out/bin/vimprobable2" \
|
||||||
${glib_networking}/lib/gio/modules
|
--prefix GIO_EXTRA_MODULES : "${glib_networking}/lib/gio/modules" \
|
||||||
|
--prefix XDG_DATA_DIRS : "${gsettings_desktop_schemas}/share"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user