diff options
Diffstat (limited to 'conda.nix')
-rw-r--r-- | conda.nix | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/conda.nix b/conda.nix deleted file mode 100644 index bbcb7cf..0000000 --- a/conda.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ stdenv, lib, writeScript, conda }: - -{ - buildCondaEnv = { depends ? [], run }: stdenv.mkDerivation { - name = "conda-env"; - propagatedBuildInputs = [ conda ] ++ depends; - buildCommand = '' - mkdir $out - HOME=$out - conda-shell-4.3.31 << EOF - conda-install - ${run} - EOF - ''; - }; - - inCondaEnv = env: run: stdenv.mkDerivation { - name = "with-conda-env"; - buildCommand = '' - #!${stdenv.shell} - export HOME=${env} - ${conda}/bin/conda-shell-4.3.31 << EOF - ${run} - EOF - ''; - }; -} - |