diff options
author | Justin Bedo <cu@cua0.org> | 2022-10-13 16:45:01 +1100 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2022-10-13 17:48:22 +1100 |
commit | f5618834f31b00d8c6465537d7ff7cf69860b2bc (patch) | |
tree | 07a98587f92ae7b7ae62d5364b94d55677ef27da /day2 | |
parent | a1806c62b34d3b220b74a7d3f1ed119df3898a68 (diff) |
Diffstat (limited to 'day2')
-rwxr-xr-x | day2/ex3-R/flake.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/day2/ex3-R/flake.nix b/day2/ex3-R/flake.nix index f7b7c62..cd55877 100755 --- a/day2/ex3-R/flake.nix +++ b/day2/ex3-R/flake.nix @@ -12,7 +12,15 @@ flake-utils, }: flake-utils.lib.eachDefaultSystem (system: let - pkgs = import nixpkgs {inherit system;}; + pkgs = import nixpkgs { + inherit system; + config.rPackageOverrides = self: + with self; { + edgeR = (import nixpkgs {inherit system;}).rPackages.edgeR.overrideAttrs (attrs: { + buildInputs = attrs.buildInputs ++ lib.optional stdenv.isDarwin libiconv; + }); + }; + }; bionix' = import bionix {nixpkgs = pkgs;}; in { defaultPackage = bionix'.callBionix ./. {}; |