lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #96762 from kampka/source-highlight

source-highlight: Skip building docs when cross-compiling

authored by

Guillaume Girol and committed by
GitHub
979e6e67 fab41ed0

+8
+8
pkgs/tools/text/source-highlight/default.nix
··· 12 12 sha256 = "148w47k3zswbxvhg83z38ifi85f9dqcpg7icvvw1cm6bg21x4zrs"; 13 13 }; 14 14 15 + # source-highlight uses it's own binary to generate documentation. 16 + # During cross-compilation, that binary was built for the target 17 + # platform architecture, so it can't run on the build host. 18 + patchPhase = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 19 + substituteInPlace Makefile.in --replace "src doc tests" "src tests" 20 + ''; 21 + 22 + strictDeps = true; 15 23 buildInputs = [ boost ]; 16 24 17 25 configureFlags = [ "--with-boost=${boost.out}" ];