You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{inputs.nixpkgs.url="github:NixOS/nixpkgs/nixos-unstable";inputs.flake-utils.url="github:numtide/flake-utils";outputs={self,nixpkgs,flake-utils}:
flake-utils.lib.eachDefaultSystem(system:
letpkgs=nixpkgs.legacyPackages.${system};myGems=pkgs.bundlerEnv{name="somegems";ruby=pkgs.ruby;gemdir=./.;# Uncommenting this breaks things by removing all default overrides. How can I avoid that?/* gemConfig.some-gem-without-default-override = attrs: { buildInputs = with pkgs; [ ... ] } */};in{devShell=pkgs.mkShell{nativeBuildInputs=[pkgs.myGems];};});}
Where 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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: