Skip to content

Commit 0154d1b

Browse files
committedJul 29, 2017
fix evaluation
cc @nyarly
1 parent 06a513e commit 0154d1b

File tree

1 file changed

+5
-6
lines changed
  • pkgs/development/ruby-modules/bundled-common

1 file changed

+5
-6
lines changed
 

‎pkgs/development/ruby-modules/bundled-common/default.nix

+5-6
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ let
6161

6262
copyIfBundledByPath = { bundledByPath ? false, ...}@main:
6363
(if bundledByPath then
64-
assert gemFiles.gemdir != null; "cp -a ${gemFiles.gemdir}/* $out/"
64+
assert gemFiles.gemdir != null; "cp -a ${gemFiles.gemdir}/* $out/" #*/
Has comments. Original line has comments.
6565
else ""
6666
);
6767

@@ -109,11 +109,10 @@ let
109109
meta = { platforms = ruby.meta.platforms; } // meta;
110110

111111
passthru = rec {
112-
inherit ruby bundler gems mainGem confFiles envPaths;
112+
inherit ruby bundler gems confFiles envPaths;
113113

114-
wrappedRuby =
115-
stdenv.mkDerivation {
116-
name = "wrapped-ruby-${pname}";
114+
wrappedRuby = stdenv.mkDerivation {
115+
name = "wrapped-ruby-${pname'}";
117116
nativeBuildInputs = [ makeWrapper ];
118117
buildCommand = ''
119118
mkdir -p $out/bin
@@ -137,7 +136,7 @@ let
137136
require 'bundler/setup'
138137
'';
139138
in stdenv.mkDerivation {
140-
name = "${pname}-interactive-environment";
139+
name = "${pname'}-interactive-environment";
141140
nativeBuildInputs = [ wrappedRuby basicEnv ];
142141
shellHook = ''
143142
export OLD_IRBRC=$IRBRC

0 commit comments

Comments
 (0)
Please sign in to comment.