mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
ruby-modules: Allow overriding gemset
This allows patching the gemset output by bundix from a default.nix file, making it easier to perform updates since the bundix update no longer has to be manually updated.
This commit is contained in:
parent
aa9fc7ee25
commit
8686b98612
@ -29,7 +29,9 @@ with import ./functions.nix { inherit lib gemConfig; };
|
|||||||
let
|
let
|
||||||
gemFiles = bundlerFiles args;
|
gemFiles = bundlerFiles args;
|
||||||
|
|
||||||
importedGemset = import gemFiles.gemset;
|
importedGemset = if builtins.typeOf gemFiles.gemset == "path"
|
||||||
|
then import gemFiles.gemset
|
||||||
|
else gemFiles.gemset;
|
||||||
|
|
||||||
filteredGemset = filterGemset { inherit ruby groups; } importedGemset;
|
filteredGemset = filterGemset { inherit ruby groups; } importedGemset;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user