From 53fa857092204f29f7058dba9c57bea012d18554 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Tue, 24 Nov 2020 14:30:15 +0100 Subject: [PATCH] moosefs: fix mfscli python in buildInputs fixes automatically mfscli and mfscgiserv. --- pkgs/tools/filesystems/moosefs/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/filesystems/moosefs/default.nix b/pkgs/tools/filesystems/moosefs/default.nix index 2be21cea3a57..48c005e1caaf 100644 --- a/pkgs/tools/filesystems/moosefs/default.nix +++ b/pkgs/tools/filesystems/moosefs/default.nix @@ -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; {