lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

glib: add updateScript

+7 -7
+7 -7
pkgs/development/libraries/glib/default.nix
··· 1 1 { stdenv, hostPlatform, fetchurl, pkgconfig, gettext, perl, python 2 - , libiconv, libintlOrEmpty, zlib, libffi, pcre, libelf 2 + , libiconv, libintlOrEmpty, zlib, libffi, pcre, libelf, gnome3 3 3 # use utillinuxMinimal to avoid circular dependency (utillinux, systemd, glib) 4 4 , utillinuxMinimal ? null 5 5 ··· 42 42 ln -sr -t "''${!outputInclude}/include/" "''${!outputInclude}"/lib/*/include/* 2>/dev/null || true 43 43 ''; 44 44 45 - ver_maj = "2.54"; 46 - ver_min = "3"; 45 + version = "2.54.3"; 47 46 in 48 47 49 48 stdenv.mkDerivation rec { 50 - name = "glib-${ver_maj}.${ver_min}"; 49 + name = "glib-${version}"; 51 50 52 51 src = fetchurl { 53 - url = "mirror://gnome/sources/glib/${ver_maj}/${name}.tar.xz"; 52 + url = "mirror://gnome/sources/glib/${gnome3.versionBranch version}/${name}.tar.xz"; 54 53 sha256 = "963fdc6685dc3da8e5381dfb9f15ca4b5709b28be84d9d05a9bb8e446abac0a8"; 55 54 }; 56 55 ··· 143 142 ''; 144 143 145 144 passthru = { 146 - gioModuleDir = "lib/gio/modules"; 147 - inherit flattenInclude; 145 + gioModuleDir = "lib/gio/modules"; 146 + inherit flattenInclude; 147 + updateScript = gnome3.updateScript { packageName = "glib"; }; 148 148 }; 149 149 150 150 meta = with stdenv.lib; {