gsl-lite: fix tests

+9
+9
pkgs/development/libraries/gsl-lite/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , cmake 5 6 , ninja 6 7 , installCompatHeader ? false ··· 17 18 rev = "v${version}"; 18 19 hash = "sha256-cuuix302bVA7dWa7EJoxJ+otf1rSzjWQK8DHJsVkQio="; 19 20 }; 21 + 22 + patches = [ 23 + (fetchpatch { 24 + name = "type-limits-cast-fix.patch"; 25 + url = "https://github.com/gsl-lite/gsl-lite/commit/13475be0e5bf5f464c398f4a07ef5c7684bc57c5.patch"; 26 + hash = "sha256-rSz7OBmgQ3KcQ971tS3Z3QNC+U4XmrPjgmuOyG7J6Bo="; 27 + }) 28 + ]; 20 29 21 30 nativeBuildInputs = [ cmake ninja ]; 22 31