Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11-beta 27 lines 638 B view raw
1{ lib 2, callPackage 3, boost-build 4, fetchurl 5}: 6 7let 8 makeBoost = file: 9 lib.fix (self: 10 callPackage file { 11 boost-build = boost-build.override { 12 # useBoost allows us passing in src and version from 13 # the derivation we are building to get a matching b2 version. 14 useBoost = self; 15 }; 16 } 17 ); 18in { 19 boost175 = makeBoost ./1.75.nix; 20 boost177 = makeBoost ./1.77.nix; 21 boost178 = makeBoost ./1.78.nix; 22 boost179 = makeBoost ./1.79.nix; 23 boost180 = makeBoost ./1.80.nix; 24 boost181 = makeBoost ./1.81.nix; 25 boost182 = makeBoost ./1.82.nix; 26 boost183 = makeBoost ./1.83.nix; 27}