xdg-utils: patch xdg-open to use KDE 5 tools

This commit is contained in:
Thomas Tuegel
2015-01-26 21:01:06 -06:00
parent 726b80bc87
commit dfe1dc0c02
2 changed files with 27 additions and 0 deletions
+2
View File
@@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "00lisw4x43sp189lb7dz46j2l09y5v2fijk3d0sxx3mvwj55a1bv";
};
patches = [ ./0001-xdg-open-recognize-KDE_SESSION_VERSION.patch ];
postInstall = ''
substituteInPlace $out/bin/xdg-mime --replace /usr/bin/file ${file}/bin/file
'';