moosefs: fix mfscli

python in buildInputs fixes automatically mfscli and mfscgiserv.
This commit is contained in:
Markus Kowalewski 2020-11-24 14:30:15 +01:00
parent 7d9c1b2dca
commit 53fa857092
No known key found for this signature in database
GPG Key ID: 502A248E3FB4FF48

View File

@ -22,12 +22,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig makeWrapper ];
buildInputs =
[ fuse libpcap zlib ];
[ fuse libpcap zlib python ];
postInstall = ''
substituteInPlace $out/sbin/mfscgiserv --replace "datapath=\"$out" "datapath=\""
wrapProgram $out/sbin/mfscgiserv \
--prefix PATH ":" "${python}/bin"
'';
meta = with stdenv.lib; {