Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: aff2ba0cd27e
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf3e277dd0bd
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 24, 2019

  1. buildPython*: allow overriding strictDeps

    (cherry picked from commit 83914f2)
    jtojnar committed Apr 24, 2019
    Copy the full SHA
    cf3e277 View commit details
Showing with 4 additions and 2 deletions.
  1. +4 −2 pkgs/development/interpreters/python/mk-python-derivation.nix
6 changes: 4 additions & 2 deletions pkgs/development/interpreters/python/mk-python-derivation.nix
Original file line number Diff line number Diff line change
@@ -33,6 +33,9 @@
# DEPRECATED: use propagatedBuildInputs
, pythonPath ? []

# Enabled to detect some (native)BuildInputs mistakes
, strictDeps ? true

# used to disable derivation, useful for specific python versions
, disabled ? false

@@ -87,8 +90,7 @@ let self = toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attr
# Propagate python and setuptools. We should stop propagating setuptools.
propagatedBuildInputs = propagatedBuildInputs ++ [ python setuptools ];

# Enabled to detect some (native)BuildInputs mistakes
strictDeps = true;
inherit strictDeps;

LANG = "${if python.stdenv.isDarwin then "en_US" else "C"}.UTF-8";