e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
28 lines
673 B
Nix
28 lines
673 B
Nix
{ lib
|
|
, callPackage
|
|
, boost-build
|
|
, fetchurl
|
|
}:
|
|
|
|
let
|
|
makeBoost = file:
|
|
lib.fix (self:
|
|
callPackage file {
|
|
boost-build = boost-build.override {
|
|
# useBoost allows us passing in src and version from
|
|
# the derivation we are building to get a matching b2 version.
|
|
useBoost = self;
|
|
};
|
|
}
|
|
);
|
|
in {
|
|
boost175 = makeBoost ./1.75.nix;
|
|
boost177 = makeBoost ./1.77.nix;
|
|
boost178 = makeBoost ./1.78.nix;
|
|
boost179 = makeBoost ./1.79.nix;
|
|
boost180 = makeBoost ./1.80.nix;
|
|
boost181 = makeBoost ./1.81.nix;
|
|
boost182 = makeBoost ./1.82.nix;
|
|
boost183 = makeBoost ./1.83.nix;
|
|
boost184 = makeBoost ./1.84.nix;
|
|
}
|