moosefs: fix mfscli
python in buildInputs fixes automatically mfscli and mfscgiserv.
This commit is contained in:
parent
7d9c1b2dca
commit
53fa857092
|
@ -22,12 +22,10 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ fuse libpcap zlib ];
|
[ fuse libpcap zlib python ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
substituteInPlace $out/sbin/mfscgiserv --replace "datapath=\"$out" "datapath=\""
|
substituteInPlace $out/sbin/mfscgiserv --replace "datapath=\"$out" "datapath=\""
|
||||||
wrapProgram $out/sbin/mfscgiserv \
|
|
||||||
--prefix PATH ":" "${python}/bin"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in New Issue