diff options
author | Domen Kožar <domen@dev.si> | 2014-10-12 18:24:16 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2014-10-16 13:13:13 +0200 |
commit | 68b183e309df1e7c6d47dac62dfe220af9d16fa4 (patch) | |
tree | f9a62924b7c494b980e251f7ffbbcc3dca87c597 /pkgs/development/interpreters/python | |
parent | a2a7abc67cff23d6a76fd960e807c08f5c48ac8b (diff) |
simplify
Diffstat (limited to 'pkgs/development/interpreters/python')
-rw-r--r-- | pkgs/development/interpreters/python/2.6/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/interpreters/python/2.7/default.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/python/2.6/default.nix b/pkgs/development/interpreters/python/2.6/default.nix index dcbb16f552327..cbdb55f4cc353 100644 --- a/pkgs/development/interpreters/python/2.6/default.nix +++ b/pkgs/development/interpreters/python/2.6/default.nix @@ -115,7 +115,7 @@ let , internalName ? "_" + moduleName , deps }: - if (includeModules) then null else stdenv.mkDerivation rec { + if includeModules then null else stdenv.mkDerivation rec { name = "python-${moduleName}-${python.version}"; inherit src patches preConfigure; diff --git a/pkgs/development/interpreters/python/2.7/default.nix b/pkgs/development/interpreters/python/2.7/default.nix index 9c6fd7d75cf54..e5dff81410c77 100644 --- a/pkgs/development/interpreters/python/2.7/default.nix +++ b/pkgs/development/interpreters/python/2.7/default.nix @@ -117,7 +117,7 @@ let , internalName ? "_" + moduleName , deps }: - if (includeModules) then null else stdenv.mkDerivation rec { + if includeModules then null else stdenv.mkDerivation rec { name = "python-${moduleName}-${python.version}"; inherit src patches preConfigure; |