Skip to content

Commit

Permalink
boost: fix operator<< for shared_ptr and intrusive_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
wineee committed Jan 23, 2025
1 parent 886a285 commit 9f93116
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/libraries/boost/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,15 @@ stdenv.mkDerivation {
extraPrefix = "libs/python/";
hash = "sha256-0IHK55JSujYcwEVOuLkwOa/iPEkdAKQlwVWR42p/X2U=";
})
]
++ lib.optional (lib.versionAtLeast version "1.87") [
# Fix operator<< for shared_ptr and intrusive_ptr
# https://github.com/boostorg/smart_ptr/issues/115
(fetchpatch {
url = "https://github.com/boostorg/smart_ptr/commit/e7433ba54596da97cb7859455cd37ca140305a9c.patch";
relative = "include";
hash = "sha256-9JvKQOAB19wQpWLNAhuB9eL8qKqXWTQHAJIXdLYMNG8=";
})
];

meta = with lib; {
Expand Down

0 comments on commit 9f93116

Please sign in to comment.