ruby-modules/bundler-env: Replace makeWrapper with makeBinaryWrapper to make bundled ruby apps work on macOS

This commit is contained in:
Tobias Bergkvist 2022-02-22 01:12:57 +01:00
parent e88b01cc7c
commit e377a4d312

View file

@ -1,6 +1,6 @@
{ stdenv, runCommand, ruby, lib, rsync
, defaultGemConfig, buildRubyGem, buildEnv
, makeWrapper
, makeBinaryWrapper
, bundler
}@defs:
@ -118,7 +118,7 @@ let
wrappedRuby = stdenv.mkDerivation {
name = "wrapped-ruby-${pname'}";
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeBinaryWrapper ];
inherit (ruby) gemPath meta;
buildCommand = ''
mkdir -p $out/bin