diff options
| -rw-r--r-- | conda.nix | 19 | 
1 files changed, 19 insertions, 0 deletions
| 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 <nixpkgs> {}}: + +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 +  ''; +} | 
