From a1d18efc18772a233aa759b622c3a9960824f109 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Tue, 30 Apr 2019 09:47:49 +1000 Subject: cleanup examples and stray files --- conda.nix | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 conda.nix (limited to 'conda.nix') 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 - ''; - }; -} - -- cgit v1.2.3