mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
00b038a3f8
The reason is that if cross compiling (or for other reasons) python bindings as a whole are turned off. Those two lines then trigger assertion errors unless manually overridden for cross compilation. This way: 1. The `enableNumpy` default respects the `enablePython deafult. 2. Cross works by default 3. Absurd manual overrides still break as they should 4. The `>= 1.65` logic is direct and not a maintaince gotcha.
13 lines
355 B
Nix
13 lines
355 B
Nix
{ stdenv, callPackage, fetchurl, ... } @ args:
|
|
|
|
callPackage ./generic.nix (args // rec {
|
|
version = "1.65.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/boost/boost_1_65_1.tar.bz2";
|
|
# SHA256 from http://www.boost.org/users/history/version_1_65_1.html
|
|
sha256 = "9807a5d16566c57fd74fb522764e0b134a8bbe6b6e8967b83afefd30dcd3be81";
|
|
};
|
|
|
|
})
|