1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

libeatmydata: add its own bin/ to PATH, dirty fix for #8665

This commit is contained in:
Pascal Wittmann 2015-07-06 17:46:28 +02:00
parent 25c7e5fafe
commit 2e85f78d20

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, makeWrapper }:
stdenv.mkDerivation rec {
name = "libeatmydata-82";
@ -8,6 +8,13 @@ stdenv.mkDerivation rec {
sha256 = "0aavq71bf0yxdgyf8gvyzq086shszzwpbsz5rqkjg4cz0rc5yrqb";
};
buildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/eatmydata \
--prefix PATH : $out/bin
'';
meta = {
homepage = http://www.flamingspork.com/projects/libeatmydata/;
license = stdenv.lib.licenses.gpl3Plus;