@fourlastor Seems like someone already did it, and it does fix the problem! github.com/NixOS/nixpkgs/pull/