Commit 32f6c5ff authored by Valentin Reis's avatar Valentin Reis
Browse files

bump repoquality.

parent b54de395
Pipeline #5628 passed with stages
in 1 minute and 42 seconds
......@@ -183,7 +183,9 @@ let
OPENMC_CROSS_SECTIONS = "${openmc-data}/cross_sections.xml";
OPENMC_PWD = "${argotk}/share/openmc";
};
testApplications = test.overrideAttrs (old:{
name = "testEnv-with-applications";
buildInputs = testBuildInputs ++ [
lammps
qmcpack
......@@ -194,8 +196,9 @@ let
];
});
expe = test.overrideAttrs (old:{
buildInputs = testBuildInputs ++ [
expe = testApplications.overrideAttrs (old:{
name = "power-experiments";
buildInputs = old.buildInputs ++ [
#debug tools
pkgs.which
zmcat
......@@ -210,49 +213,44 @@ let
'';
});
analysis =
pkgs.rWrapper.override{ packages = with pkgs.rPackages; [
pkgs.rlwrap
pkgs.pandoc
docopt
formatR
purrr
knitr
cowplot
plotly
lubridate
dplyr
ggplot2
xtable
ggthemes
data_table
];};
jupyter =
let
jupyter = import (fetched jupyter/pin.json) {};
in
(jupyter.jupyterlabWith {
kernels = [
(jupyter.kernels.juniperWith {
name = "analysis";
packages = p: with p; [ ggplot2
pkgs.which
docopt
purrr
knitr
cowplot
plotly
lubridate
dplyr
ggplot2
xtable
ggthemes
data_table
];
})
];
}).env;
analysis = pkgs.stdenv.mkDerivation rec {
name = "analysis";
src = experiments-src;
#required to be able to build the drv.
installPhase = "mkdir $out";
unpackPhase = "true";
buildInputs = [
(pkgs.rWrapper.override{ packages = with pkgs.rPackages; [
pkgs.rlwrap
pkgs.pandoc
docopt
formatR
purrr
knitr
cowplot
plotly
lubridate
dplyr
ggplot2
xtable
ggthemes
data_table
];})
];
};
report = analysis.overrideAttrs (old:{
buildPhase = ''
echo "analysis/zymakefolder.R ${expe}"
analysis/zymakefolder.R ${expe}
'';
installPhase = ''
mkdir -p $out
cp -r index* $out
'';
});
doArgotk = drv: command: drv.overrideAttrs (old:{
buildPhase = "argotk "+command+" --verbose";
......@@ -275,3 +273,33 @@ let
};
# re-exporting a full nixpkgs-like package set
in pkgs // argopkgs
#jupyter =
#let
#jupyter = import (fetched jupyter/pin.json) {};
#in
#(jupyter.jupyterlabWith {
#kernels = [
#(jupyter.kernels.juniperWith {
#name = "analysis";
#packages = p: with p; [ ggplot2
#pkgs.which
#docopt
#purrr
#knitr
#cowplot
#plotly
#lubridate
#dplyr
#ggplot2
#xtable
#ggthemes
#data_table
#];
#})
#];
#}).env;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment