So I tried to check if Nix is capable of using Boost 1.91, and applied the following in Nixpkgs:
diff --git i/pkgs/tools/package-management/nix/dependencies.nix w/pkgs/tools/package-management/nix/dependencies.nix
index ed5a63ce3ecf..5cd0eea26992 100644
--- i/pkgs/tools/package-management/nix/dependencies.nix
+++ w/pkgs/tools/package-management/nix/dependencies.nix
@@ -34,5 +34,7 @@ regular@{
# only a stripped down version is built which takes a lot less resources to build
requiredSystemFeatures = [ ];
};
+
+ boost = pkgs.boost191;
};
}
Ran nix build -Lf. nix and got:
[----------] Global test environment tear-down
[==========] 689 tests from 131 test suites ran. (2307 ms total)
[ PASSED ] 685 tests.
[ FAILED ] 4 tests, listed below:
[ FAILED ] parseURLRelative.resolvesRelativePathIpv6AddressWithZoneId
[ FAILED ] ParseURLSuccessCases/ParseURLSuccess.parsesAsExpected/5, where GetParam() = 288-byte object <31-00 00-00 00-00 00-00 F0-EA 8B-55 55-55 00-00 B0-52 A0-55 55-55 00-00 04-00 00-00 00-00 00-00 68-74 74-70 00-68 74-74 70-73 00-00 00-00 00-00 02-00 00-00 00-00 00-00 50-74 A0-55 55-55 00-00 ... 00-00 00-00 00-00 00-00 68-53 A0-55 55-55 00-00 68-53 A0-55 55-55 00-00 00-00 00-00 00-00 00-00 A0-53 A0-55 55-55 00-00 00-00 00-00 00-00 00-00 00-65 6C-6C 6F-00 00-00 00-00 00-00 00-00 00-00>
[ FAILED ] ParseURLSuccessCases/ParseURLSuccess.toStringRoundTrips/5, where GetParam() = 288-byte object <31-00 00-00 00-00 00-00 F0-EA 8B-55 55-55 00-00 B0-52 A0-55 55-55 00-00 04-00 00-00 00-00 00-00 68-74 74-70 00-68 74-74 70-73 00-00 00-00 00-00 02-00 00-00 00-00 00-00 00-97 A0-55 55-55 00-00 ... 00-00 00-00 00-00 00-00 68-53 A0-55 55-55 00-00 68-53 A0-55 55-55 00-00 00-00 00-00 00-00 00-00 A0-53 A0-55 55-55 00-00 00-00 00-00 00-00 00-00 00-65 6C-6C 6F-00 00-00 00-00 00-00 00-00 00-00>
[ FAILED ] ParseURLSuccessCases/ParseURLSuccess.makeSureFixGitURLDoesNotModify/5, where GetParam() = 288-byte object <31-00 00-00 00-00 00-00 F0-EA 8B-55 55-55 00-00 B0-52 A0-55 55-55 00-00 04-00 00-00 00-00 00-00 68-74 74-70 00-68 74-74 70-73 00-00 00-00 00-00 02-00 00-00 00-00 00-00 60-BB A0-55 55-55 00-00 ... 00-00 00-00 00-00 00-00 68-53 A0-55 55-55 00-00 68-53 A0-55 55-55 00-00 00-00 00-00 00-00 00-00 A0-53 A0-55 55-55 00-00 00-00 00-00 00-00 00-00 00-65 6C-6C 6F-00 00-00 00-00 00-00 00-00 00-00>
4 FAILED TESTS
YOU HAVE 1 DISABLED TEST
In NixOS/nixpkgs#525607 we might just as well pin Nix to boost181, but I thought you should be aware of this.
So I tried to check if Nix is capable of using Boost 1.91, and applied the following in Nixpkgs:
Ran
nix build -Lf. nixand got:In NixOS/nixpkgs#525607 we might just as well pin Nix to
boost181, but I thought you should be aware of this.