Need to handle "null" mainGems
Not every gem package uses pname, nor should it.
This commit is contained in:
parent
2b9c7b4268
commit
3c9941114f
@ -105,7 +105,9 @@ let
|
||||
|
||||
gems = lib.flip lib.mapAttrs configuredGemset (name: attrs: buildGem name attrs);
|
||||
|
||||
maybeCopyAll = { usesGemspec ? false, ...}@main:
|
||||
maybeCopyAll = main: if main == null then "" else copyIfUseGemspec main;
|
||||
|
||||
copyIfUseGemspec = { usesGemspec ? false, ...}@main:
|
||||
(if usesGemspec then ''
|
||||
cp -a ${gemdir}/* $out/
|
||||
'' else ""
|
||||
|
Loading…
Reference in New Issue
Block a user