pkgs/development/interpreters/python/2.7/default.nix: strip trailing whitespace
svn path=/nixpkgs/trunk/; revision=27163
This commit is contained in:
parent
fa08bf65c4
commit
f0f900f41b
|
@ -18,7 +18,7 @@ let
|
||||||
url = "http://www.python.org/ftp/python/${version}/Python-${version}.tar.bz2";
|
url = "http://www.python.org/ftp/python/${version}/Python-${version}.tar.bz2";
|
||||||
sha256 = "14i2c7yqa7ljmx2i2bb827n61q33zn23ax96czi8rbkyyny8gqw0";
|
sha256 = "14i2c7yqa7ljmx2i2bb827n61q33zn23ax96czi8rbkyyny8gqw0";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
[ # Look in C_INCLUDE_PATH and LIBRARY_PATH for stuff.
|
[ # Look in C_INCLUDE_PATH and LIBRARY_PATH for stuff.
|
||||||
./search-path.patch
|
./search-path.patch
|
||||||
|
@ -36,12 +36,12 @@ let
|
||||||
++ optional zlibSupport zlib
|
++ optional zlibSupport zlib
|
||||||
++ optionals stdenv.isDarwin [ darwinArchUtility darwinSwVersUtility ];
|
++ optionals stdenv.isDarwin [ darwinArchUtility darwinSwVersUtility ];
|
||||||
|
|
||||||
|
|
||||||
# Build the basic Python interpreter without modules that have
|
# Build the basic Python interpreter without modules that have
|
||||||
# external dependencies.
|
# external dependencies.
|
||||||
python = stdenv.mkDerivation {
|
python = stdenv.mkDerivation {
|
||||||
name = "python-${version}";
|
name = "python-${version}";
|
||||||
|
|
||||||
inherit majorVersion version src patches buildInputs;
|
inherit majorVersion version src patches buildInputs;
|
||||||
|
|
||||||
C_INCLUDE_PATH = concatStringsSep ":" (map (p: "${p}/include") buildInputs);
|
C_INCLUDE_PATH = concatStringsSep ":" (map (p: "${p}/include") buildInputs);
|
||||||
|
@ -181,5 +181,5 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
in python // { inherit modules; }
|
in python // { inherit modules; }
|
||||||
|
|
Loading…
Reference in a new issue