mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
moosefs: fix mfscli
python in buildInputs fixes automatically mfscli and mfscgiserv.
This commit is contained in:
parent
7d9c1b2dca
commit
53fa857092
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user