summaryrefslogtreecommitdiffstats
path: root/pkgs/development/interpreters/python/conda/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/interpreters/python/conda/default.nix')
-rw-r--r--pkgs/development/interpreters/python/conda/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/python/conda/default.nix b/pkgs/development/interpreters/python/conda/default.nix
new file mode 100644
index 000000000000..5249ccce0d9a
--- /dev/null
+++ b/pkgs/development/interpreters/python/conda/default.nix
@@ -0,0 +1,25 @@
+{ pkgs }: {
+
+ # List of libraries that are needed for conda binary packages.
+ # When installing a conda binary package, just extend
+ # the `buildInputs` with `condaAutopatchLibs`.
+ condaPatchelfLibs = builtins.map (p: p.lib or p) ([
+ pkgs.alsaLib
+ pkgs.cups
+ pkgs.gcc-unwrapped
+ pkgs.libGL
+ ] ++ (with pkgs.xorg; [
+ libSM
+ libICE
+ libX11
+ libXau
+ libXdamage
+ libXi
+ libXrender
+ libXrandr
+ libXcomposite
+ libXcursor
+ libXtst
+ libXScrnSaver])
+ );
+}