forked from mirrors/nixpkgs
xdg-utils: Fix reference to /usr/bin/file in xdg-mime
This commit is contained in:
parent
396de23762
commit
24298db823
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, file }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xdg-utils-1.0.2";
|
||||
|
@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1b019d3r1379b60p33d6z44kx589xjgga62ijz9vha95dg8vgbi1";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/bin/xdg-mime --replace /usr/bin/file ${file}/bin/file
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://portland.freedesktop.org/wiki/;
|
||||
description = "A set of command line tools that assist applications with a variety of desktop integration tasks";
|
||||
|
|
Loading…
Reference in a new issue