xdg_utils: 1.1.1 -> 1.1.2

This commit is contained in:
Franz Pletz 2017-08-27 04:11:38 +02:00
parent cf7a4ef6da
commit d5680983dc
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -17,11 +17,11 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "xdg-utils-${version}"; name = "xdg-utils-${version}";
version = "1.1.1"; version = "1.1.2";
src = fetchurl { src = fetchurl {
url = "https://portland.freedesktop.org/download/${name}.tar.gz"; url = "https://portland.freedesktop.org/download/${name}.tar.gz";
sha256 = "09a1pk3ifsndc5qz2kcd1557i137gpgnv3d739pv22vfayi67pdh"; sha256 = "1k4b4m3aiyqn9k12a0ihcdahzlspl3zhskmm1d7228dvqvi546cm";
}; };
# just needed when built from git # just needed when built from git
@ -46,6 +46,9 @@ stdenv.mkDerivation rec {
substituteInPlace $out/bin/xdg-mime \ substituteInPlace $out/bin/xdg-mime \
--replace "/usr/bin/file" "${file}/bin/file" --replace "/usr/bin/file" "${file}/bin/file"
substituteInPlace $out/bin/xdg-email \
--replace "/bin/echo" "${coreutils}/bin/echo"
sed 's# which # type -P #g' -i "$out"/bin/* sed 's# which # type -P #g' -i "$out"/bin/*
''; '';