Merge pull request #162839 from veprbl/pr/root_fix_rootconfigcmake

root: fix ROOTConfig.cmake.in patching
This commit is contained in:
veprbl 2022-03-05 17:13:23 -05:00 committed by GitHub
commit e59cbae991
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,7 +107,7 @@ stdenv.mkDerivation rec {
# Hardcode path to fix use with cmake
sed -i cmake/scripts/ROOTConfig.cmake.in \
-e 'iset(nlohmann_json_DIR "${nlohmann_json}/lib/cmake/nlohmann_json/")'
-e '1iset(nlohmann_json_DIR "${nlohmann_json}/lib/cmake/nlohmann_json/")'
patchShebangs build/unix/
'' + lib.optionalString noSplash ''