Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #266589 from wegank/coinutils-clang-16

coin-utils: fix build with clang 16

authored by Weijia Wang and committed by GitHub 34d322af bc821442

+10 -1
+10 -1
pkgs/development/libraries/science/math/coin-utils/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "2.11.10"; ··· 10 10 rev = "releases/${version}"; 11 11 hash = "sha256-Rbm45HRbRKQ6Cdup+gvKJ1xkK1HKG3irR5AIjhLer7g="; 12 12 }; 13 + 14 + patches = [ 15 + (fetchpatch { 16 + url = "https://github.com/coin-or/CoinUtils/commit/1700ed92c2bc1562aabe65dee3b4885bd5c87fb9.patch"; 17 + stripLen = 1; 18 + extraPrefix = "CoinUtils/"; 19 + hash = "sha256-8S6XteZvoJlL+5MWiOrW7HXsdcnzpuEFTyzX9qg7OUY="; 20 + }) 21 + ]; 13 22 14 23 doCheck = true; 15 24