Skip to content

Commit 43d04b1

Browse files
hamishmackcoot
authored andcommitted
Pin R to 4.4.3 until inline-r is fixed
See tweag/HaskellR#431
1 parent 2770eef commit 43d04b1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

nix/pkgs.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,17 @@ import inputs.nixpkgs {
99
inputs.haskell-nix.overlay
1010
inputs.iohk-nix.overlays.haskell-nix-crypto
1111
inputs.iohk-nix.overlays.haskell-nix-extra
12+
# Pin R to 4.4.3 until inline-r is fixed.
13+
# See https://github.com/tweag/HaskellR/issues/431
14+
(final: prev: {
15+
R = prev.R.overrideAttrs rec {
16+
version = "4.4.3";
17+
src = final.fetchurl {
18+
url = "https://cran.r-project.org/src/base/R-${
19+
final.lib.versions.major version}/R-${version}.tar.gz";
20+
hash = "sha256-DZPSJEQt6iU8KwhvCI220NPP2bWSzVSW6MshQ+kPyeg=";
21+
};
22+
};
23+
})
1224
];
1325
}

0 commit comments

Comments
 (0)