cleverca22
10/15/2016 - 2:29 PM

config.nix

{
  packageOverrides = pkgs: {
    rPackages = pkgs.rPackages.override {
      overrides = {
        png = pkgs.rPackages.png.overrideDerivation (old: { nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.libpng.dev ]; });
      };
    };
  };
}