From 24d24d7c0ddb3e3406c46b5fe2524abec2c58079 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Wed, 5 Sep 2018 13:36:45 +1000 Subject: conda proof of concept --- conda.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 conda.nix diff --git a/conda.nix b/conda.nix new file mode 100644 index 0000000..4006218 --- /dev/null +++ b/conda.nix @@ -0,0 +1,19 @@ +{pkgs ? import {}}: + +with pkgs; + +stdenv.mkDerivation { + name = "conda"; + src = ./conda.nix; + phases = [ "buildPhase" ]; + buildInputs = [ conda ]; + buildPhase = '' + HOME=$TMPDIR + conda-shell-4.3.31 << EOF + conda-install + conda config --add channels bioconda + conda install -y bwa + bwa + EOF + ''; +} -- cgit v1.2.3