mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
libeatmydata: add its own bin/ to PATH, dirty fix for #8665
This commit is contained in:
parent
25c7e5fafe
commit
2e85f78d20
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user