ruby-modules/bundler-env: Replace makeWrapper with makeBinaryWrapper to make bundled ruby apps work on macOS
This commit is contained in:
parent
e88b01cc7c
commit
e377a4d312
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue