Merge pull request #89740 from markuskowa/fix-moosefs

moosefs: fix datapath for mfscgiserv
This commit is contained in:
markuskowa 2020-06-08 09:48:16 +02:00 committed by GitHub
commit 9ebc144034
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
, fuse
, pkgconfig
, libpcap
, zlib
, zlib
}:
stdenv.mkDerivation rec {
@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
[ fuse libpcap zlib ];
postInstall = ''
substituteInPlace $out/sbin/mfscgiserv --replace "datapath=\"$out" "datapath=\""
wrapProgram $out/sbin/mfscgiserv \
--prefix PATH ":" "${python}/bin"
'';