bundlerEnv: allow copying additional paths alongside config files
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
, groups ? null
|
||||
, ignoreCollisions ? false
|
||||
, buildInputs ? []
|
||||
, extraConfigPaths ? []
|
||||
, ...
|
||||
}@args:
|
||||
|
||||
@@ -83,6 +84,8 @@ let
|
||||
${maybeCopyAll mainGemName}
|
||||
cp ${gemFiles.gemfile} $out/Gemfile || ls -l $out/Gemfile
|
||||
cp ${gemFiles.lockfile} $out/Gemfile.lock || ls -l $out/Gemfile.lock
|
||||
|
||||
${lib.concatMapStringsSep "\n" (path: "cp -r ${path} $out/") extraConfigPaths}
|
||||
'';
|
||||
|
||||
buildGem = name: attrs: (
|
||||
|
||||
Reference in New Issue
Block a user