mirror of
https://github.com/dwinkler1/fran.git
synced 2026-02-19 22:50:59 -05:00
Separate out julia dependency
This commit is contained in:
parent
f9c4c65980
commit
92d249ab8b
1 changed files with 22 additions and 20 deletions
42
flake.nix
42
flake.nix
|
|
@ -24,6 +24,9 @@
|
||||||
|
|
||||||
# The overlay that exposes custom R packages
|
# The overlay that exposes custom R packages
|
||||||
overlay = final: prev: {
|
overlay = final: prev: {
|
||||||
|
extraRPackageDeps = {
|
||||||
|
julia-fwildclusterboot = prev.julia-bin.withPackages ["WildBootTests" "StableRNGs"];
|
||||||
|
};
|
||||||
extraRPackages = let
|
extraRPackages = let
|
||||||
fetchfromGitHubJSONFile = path: prev.fetchFromGitHub (builtins.fromJSON (builtins.readFile path));
|
fetchfromGitHubJSONFile = path: prev.fetchFromGitHub (builtins.fromJSON (builtins.readFile path));
|
||||||
in {
|
in {
|
||||||
|
|
@ -31,26 +34,24 @@
|
||||||
fwildclusterboot = prev.rPackages.buildRPackage {
|
fwildclusterboot = prev.rPackages.buildRPackage {
|
||||||
name = "fwildclusterboot";
|
name = "fwildclusterboot";
|
||||||
src = fetchfromGitHubJSONFile ./versions/fwildclusterboot.json;
|
src = fetchfromGitHubJSONFile ./versions/fwildclusterboot.json;
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs = builtins.attrValues {
|
||||||
builtins.attrValues {
|
inherit
|
||||||
inherit
|
(prev.rPackages)
|
||||||
(prev.rPackages)
|
collapse
|
||||||
collapse
|
dqrng
|
||||||
dqrng
|
dreamerr
|
||||||
dreamerr
|
Formula
|
||||||
Formula
|
generics
|
||||||
generics
|
gtools
|
||||||
gtools
|
JuliaConnectoR
|
||||||
JuliaConnectoR
|
Matrix
|
||||||
Matrix
|
Rcpp
|
||||||
Rcpp
|
rlang
|
||||||
rlang
|
summclust
|
||||||
summclust
|
RcppArmadillo
|
||||||
RcppArmadillo
|
RcppEigen
|
||||||
RcppEigen
|
;
|
||||||
;
|
};
|
||||||
}
|
|
||||||
++ [(prev.julia-bin.withPackages ["WildBootTests"])];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
## H
|
## H
|
||||||
|
|
@ -120,6 +121,7 @@
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
packages = with self.packages."${system}"; [
|
packages = with self.packages."${system}"; [
|
||||||
default
|
default
|
||||||
|
pkgs.extraRPackageDeps.julia-fwildclusterboot
|
||||||
franUpdate
|
franUpdate
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue