Skip to content

Commit

Permalink
moosefs: fix mfscli
Browse files Browse the repository at this point in the history
python in buildInputs fixes automatically mfscli and mfscgiserv.
  • Loading branch information
markuskowa committed Nov 24, 2020
1 parent 7d9c1b2 commit 53fa857
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkgs/tools/filesystems/moosefs/default.nix
Expand Up @@ -22,12 +22,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig makeWrapper ];

buildInputs =
[ fuse libpcap zlib ];
[ fuse libpcap zlib python ];

postInstall = ''
substituteInPlace $out/sbin/mfscgiserv --replace "datapath=\"$out" "datapath=\""
wrapProgram $out/sbin/mfscgiserv \
--prefix PATH ":" "${python}/bin"
'';

meta = with stdenv.lib; {
Expand Down

0 comments on commit 53fa857

Please sign in to comment.