For the life of me, I cannot figure out how to use the rPackageOverrides
attribute correctly. This shell.nix results in error: attribute 'jqr' missing
.
let
rPackageOverrides = p: {
jqr = p.jqr.overrideDerivation (attrs: {
preConfigure = "patchShebangs configure";
});
};
pkgs = import <nixpkgs> {
config = { inherit rPackageOverrides; };
};
rEnv = pkgs.rWrapper.override {
packages = with pkgs.rPackages; [ jqr ];
};
in with pkgs; mkShell {
name = "test-jqr";
version = "1.0.0";
buildInputs = [ rEnv ];
}
I’d recommend adding an issue for the broken jqr package. Maybe an issue for documenting how to use rPackageOverrides
correctly too.