moosefs: fix datapath for mfscgiserv
The datapath in mfscgisrv is hardcoded and pointed to the nix store, which made the program fail on startup.
This commit is contained in:
parent
d2ed1f4fad
commit
69a601c627
@ -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…
x
Reference in New Issue
Block a user