git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #124986 from lopsided98/libccd-pkgconfig-paths
commit6640040ef6921b6d697453ca01174894b40bb171 authorSandro <sandro.jaeckel@gmail.com> dateTue 1 Jun 2021, 18:02 (5 years ago) parent01e24bd3d2092a
1 file changed+10−1
pkgs/development/libraries/libccd/default.nix+10−1
pkgs/development/libraries/libccd/default.nix+10−1
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "libccd";
@@ -11,6 +11,15 @@ stdenv.mkDerivation rec {
1111 sha256 = "0sfmn5pd7k5kyhbxnd689xmsa5v843r7sska96dlysqpljd691jc";
1212 };
1313
14+ patches = [
15+ # Fix pkgconfig file with absolute CMAKE_INSTALL_*DIR
16+ # https://github.com/danfis/libccd/pull/76
17+ (fetchpatch {
18+ url = "https://github.com/danfis/libccd/commit/cd16c4f168ae308e4c77db66ac97a2eaf47e059e.patch";
19+ sha256 = "02wj21c185kwf8bn4qi4cnna0ypzqm481xw9rr8jy1i0cb1r9idg";
20+ })
21+ ];
22+
1423 nativeBuildInputs = [ cmake ];
1524
1625 meta = with lib; {