mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
Updating megatools to 1.9.94.
Fixing the glib network part splice, which wasn't working.
This commit is contained in:
parent
1e561eb230
commit
8aaac406bf
@ -3,20 +3,21 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "megatools-${version}";
|
name = "megatools-${version}";
|
||||||
version = "1.9.93";
|
version = "1.9.94";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://megatools.megous.com/builds/${name}.tar.gz";
|
url = "http://megatools.megous.com/builds/${name}.tar.gz";
|
||||||
sha256 = "0xm57pgjvfifq1j5lyvrcs6x0vxhqzr399s7paj4g7nspj0dbll9";
|
sha256 = "1kms0k652sszcbzmx5nmz07gc8zbqqiskh8hvmvf6xaga7y3lgrx";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig glib fuse curl makeWrapper ];
|
buildInputs = [ pkgconfig glib fuse curl makeWrapper
|
||||||
|
gsettings_desktop_schemas ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for i in $(find $out/bin/ -type f); do
|
for i in $(find $out/bin/ -type f); do
|
||||||
wrapProgram "$i" \
|
wrapProgram "$i" \
|
||||||
--prefix GIO_EXTRA_MODULES : "${glib_networking}/lib/gio/modules" \
|
--prefix GIO_EXTRA_MODULES : "${glib_networking}/lib/gio/modules" \
|
||||||
--prefix XDG_DATA_DIRS : "${gsettings_desktop_schemas}/share"
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user