diff --git a/pkgs/development/libraries/libeatmydata/default.nix b/pkgs/development/libraries/libeatmydata/default.nix index 8d2d820a2301..2fdd1658f19f 100644 --- a/pkgs/development/libraries/libeatmydata/default.nix +++ b/pkgs/development/libraries/libeatmydata/default.nix @@ -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;