seperate the nix environments into several files
This commit is contained in:
parent
d8d2a2e8e2
commit
31e2ff0ca5
25
flake.nix
25
flake.nix
@ -27,27 +27,10 @@
|
||||
};
|
||||
};
|
||||
devShells = {
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
snakemake
|
||||
gawk
|
||||
gnused
|
||||
nickel
|
||||
graphviz
|
||||
# TODO separate into several shells
|
||||
(python3.withPackages (ps: with ps; [
|
||||
requests
|
||||
kapkgs.execo
|
||||
]))
|
||||
#(rWrapper.override { packages = with rPackages; [ tidyverse reshape2 ]; })
|
||||
];
|
||||
};
|
||||
latex = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
texliveFull
|
||||
rubber
|
||||
];
|
||||
};
|
||||
default = import ./workflow/envs/snakemake.nix { inherit pkgs kapkgs; };
|
||||
nickel = import ./workflow/envs/nickel.nix { inherit pkgs kapkgs; };
|
||||
latex = import ./workflow/envs/latex.nix { inherit pkgs kapkgs; };
|
||||
analysis = import ./workflow/envs/analysis.nix { inherit pkgs kapkgs; };
|
||||
};
|
||||
});
|
||||
}
|
||||
|
12
workflow/envs/analysis.nix
Normal file
12
workflow/envs/analysis.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ pkgs, kapkgs }:
|
||||
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
(rWrapper.override {
|
||||
packages = with rPackages; [
|
||||
tidyverse
|
||||
reshape2
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
8
workflow/envs/latex.nix
Normal file
8
workflow/envs/latex.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ pkgs, kapkgs }:
|
||||
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
texliveFull
|
||||
rubber
|
||||
];
|
||||
}
|
7
workflow/envs/nickel.nix
Normal file
7
workflow/envs/nickel.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ pkgs, kapkgs }:
|
||||
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
nickel
|
||||
];
|
||||
}
|
12
workflow/envs/snakemake.nix
Normal file
12
workflow/envs/snakemake.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ pkgs, kapkgs }:
|
||||
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
snakemake
|
||||
gawk
|
||||
gnused
|
||||
(python3.withPackages (ps: with ps; [
|
||||
kapkgs.execo
|
||||
]))
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user