3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #104766 from markuskowa/fix-moosefs

moosefs: fix mfscli
This commit is contained in:
markuskowa 2020-11-24 17:00:17 +01:00 committed by GitHub
commit 44db0e8f06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; {