forked from mirrors/nixpkgs
Merge pull request #104766 from markuskowa/fix-moosefs
moosefs: fix mfscli
This commit is contained in:
commit
44db0e8f06
|
@ -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 a new issue