Closed lokegustafsson closed 2 years ago
I found a way:
gemConfig = pkgs.defaultGemConfig // {
some-gem-without-default-override = attrs: { buildInputs = with pkgs; [ ... ]; };
};
This was not at all discoverable though. I found it by searching for gemConfig
and finding #68
I have a
flake.nix
along the lines ofWhere
gemset.nix
contains gems that require injecting native dependencies. Some of these have defined overrides in https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/ruby-modules/gem-config/default.nix, some do not. I want to define some overrides for packages that do not. My problem is that doing so disables all the universal overrides, and I have no interest in duplicating the entirety of that file in mine.