From 5c2965145f322386d45db04c409fd2f8a3c3b478 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Sun, 3 Jan 2021 21:40:14 +0000 Subject: treewide: Inline more of the static overlay Picking up where #107238 left off. I think I'll have gotten all the easy stuff with this. --- pkgs/development/interpreters/python/cpython/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/development/interpreters') diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index c67ede82003a..b9f1820df3e8 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -35,7 +35,7 @@ , rebuildBytecode ? true , stripBytecode ? false , includeSiteCustomize ? true -, static ? false +, static ? stdenv.hostPlatform.isStatic # Not using optimizations on Darwin # configure: error: llvm-profdata is required for a --enable-optimizations build but could not be found. , enableOptimizations ? (!stdenv.isDarwin) -- cgit 1.4.1