Loading pkgs/tools/misc/rshim-user-space/default.nix +12 −1 Original line number Diff line number Diff line Loading @@ -3,10 +3,14 @@ , fetchFromGitHub , autoconf , automake , makeBinaryWrapper , pkg-config , pciutils , libusb1 , fuse , busybox , pv , withBfbInstall ? true }: stdenv.mkDerivation rec { Loading @@ -24,7 +28,7 @@ stdenv.mkDerivation rec { autoconf automake pkg-config ]; ] ++ lib.optionals withBfbInstall [ makeBinaryWrapper ]; buildInputs = [ pciutils Loading @@ -39,6 +43,13 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p "$out"/bin cp -a src/rshim "$out"/bin/ '' + lib.optionalString withBfbInstall '' cp -a scripts/bfb-install "$out"/bin/ ''; postFixup = lib.optionalString withBfbInstall '' wrapProgram $out/bin/bfb-install \ --set PATH ${lib.makeBinPath [ busybox pv ]} ''; meta = with lib; { Loading Loading
pkgs/tools/misc/rshim-user-space/default.nix +12 −1 Original line number Diff line number Diff line Loading @@ -3,10 +3,14 @@ , fetchFromGitHub , autoconf , automake , makeBinaryWrapper , pkg-config , pciutils , libusb1 , fuse , busybox , pv , withBfbInstall ? true }: stdenv.mkDerivation rec { Loading @@ -24,7 +28,7 @@ stdenv.mkDerivation rec { autoconf automake pkg-config ]; ] ++ lib.optionals withBfbInstall [ makeBinaryWrapper ]; buildInputs = [ pciutils Loading @@ -39,6 +43,13 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p "$out"/bin cp -a src/rshim "$out"/bin/ '' + lib.optionalString withBfbInstall '' cp -a scripts/bfb-install "$out"/bin/ ''; postFixup = lib.optionalString withBfbInstall '' wrapProgram $out/bin/bfb-install \ --set PATH ${lib.makeBinPath [ busybox pv ]} ''; meta = with lib; { Loading