From d5680983dcd71d8bbb19b76d52a125c90c1aa134 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 27 Aug 2017 04:11:38 +0200 Subject: [PATCH] xdg_utils: 1.1.1 -> 1.1.2 --- pkgs/tools/X11/xdg-utils/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/X11/xdg-utils/default.nix b/pkgs/tools/X11/xdg-utils/default.nix index a1d3a059a830..717ad327c676 100644 --- a/pkgs/tools/X11/xdg-utils/default.nix +++ b/pkgs/tools/X11/xdg-utils/default.nix @@ -17,11 +17,11 @@ in stdenv.mkDerivation rec { name = "xdg-utils-${version}"; - version = "1.1.1"; + version = "1.1.2"; src = fetchurl { url = "https://portland.freedesktop.org/download/${name}.tar.gz"; - sha256 = "09a1pk3ifsndc5qz2kcd1557i137gpgnv3d739pv22vfayi67pdh"; + sha256 = "1k4b4m3aiyqn9k12a0ihcdahzlspl3zhskmm1d7228dvqvi546cm"; }; # just needed when built from git @@ -46,6 +46,9 @@ stdenv.mkDerivation rec { substituteInPlace $out/bin/xdg-mime \ --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/* '';