Merge pull request #89740 from markuskowa/fix-moosefs
moosefs: fix datapath for mfscgiserv
This commit is contained in:
commit
9ebc144034
@ -5,7 +5,7 @@
|
|||||||
, fuse
|
, fuse
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, libpcap
|
, libpcap
|
||||||
, zlib
|
, zlib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
|
|||||||
[ fuse libpcap zlib ];
|
[ fuse libpcap zlib ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
substituteInPlace $out/sbin/mfscgiserv --replace "datapath=\"$out" "datapath=\""
|
||||||
wrapProgram $out/sbin/mfscgiserv \
|
wrapProgram $out/sbin/mfscgiserv \
|
||||||
--prefix PATH ":" "${python}/bin"
|
--prefix PATH ":" "${python}/bin"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user