zimbatm has quit [Read error: Connection reset by peer]
zimbatm has joined #nixos-ruby
pbb has quit [*.net *.split]
pbb has joined #nixos-ruby
alienpirate5 has quit [Ping timeout: 240 seconds]
manveru[m] has quit [Ping timeout: 240 seconds]
alienpirate5 has joined #nixos-ruby
manveru[m] has joined #nixos-ruby
<{\_\}>
jaen[discord]: I ended up just doing a `mkDerivation`. It's somewhat annoying, because I have to add gemspec paths by hand, but at least it works.
<{\_\}>
jaen[discord]: I have another issue now – my Docker image ends up with gcc and cmake, because the `rugged` gems bring them along by not removing the build dir after it's built. It doesn't seem that you can hook into gem's build with `gemConfig`, is there any way to do it, short of overlaying/forking nixpkgs?
zimbatm has quit [Ping timeout: 256 seconds]
zimbatm has joined #nixos-ruby
<{\_\}>
nicknovitski[discord]: you can specify a postInstall phase with gemConfig that removes the unneeded files
<{\_\}>
nicknovitski[discord]: there are examples in nixpkgs' gem-config/default.nix
<{\_\}>
jaen[discord]: Wait, how does that even work? I though I could do that and it didn't work until I hacked the derivation in `gem/default.nix` to inherit it.
<{\_\}>
jaen[discord]: If that's supposed to work, maybe I was doing something else wrong ~~"
<{\_\}>
jaen[discord]: Yeah, just rolled back to upstream nixpkgs and it keeps working, so I guess I was doing something wrong the first time. Thanks for pointing out it was already supported!
{\_\} has quit [Remote host closed the connection]