aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conda.nix4
-rw-r--r--test.nix2
2 files changed, 3 insertions, 3 deletions
diff --git a/conda.nix b/conda.nix
index daffc8e..bbcb7cf 100644
--- a/conda.nix
+++ b/conda.nix
@@ -3,7 +3,7 @@
{
buildCondaEnv = { depends ? [], run }: stdenv.mkDerivation {
name = "conda-env";
- buildInputs = [ conda ] ++ depends;
+ propagatedBuildInputs = [ conda ] ++ depends;
buildCommand = ''
mkdir $out
HOME=$out
@@ -14,7 +14,7 @@
'';
};
- withCondaEnv = env: run: stdenv.mkDerivation {
+ inCondaEnv = env: run: stdenv.mkDerivation {
name = "with-conda-env";
buildCommand = ''
#!${stdenv.shell}
diff --git a/test.nix b/test.nix
index dd5ce75..c59f786 100644
--- a/test.nix
+++ b/test.nix
@@ -71,7 +71,7 @@ let
'';
};
- condaTest = conda.withCondaEnv condaEnv "bwa";
+ condaTest = conda.inCondaEnv condaEnv "bwa";
in condaTest