diff options
author | Justin Bedo <cu@cua0.org> | 2018-09-06 08:28:51 +1000 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2018-09-06 08:28:51 +1000 |
commit | 415c38f9fe497b90c9ca53fce0c0599ea71d05ea (patch) | |
tree | 60353563913d1d71a22d9334952f5ac5d6f2973a | |
parent | d7b738eea555bb63026279589d4b835f8459b9f0 (diff) |
renamed and fixed depends
-rw-r--r-- | conda.nix | 4 | ||||
-rw-r--r-- | test.nix | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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} @@ -71,7 +71,7 @@ let ''; }; - condaTest = conda.withCondaEnv condaEnv "bwa"; + condaTest = conda.inCondaEnv condaEnv "bwa"; in condaTest |