git.iko.soy/typeable/nixpkgs
on master help sign in
root: fix ROOTConfig.cmake.in patching
commit149d68268dc698fb1689f1336aa4c38e38616c63 authorDmitry Kalinkin <dmitry.kalinkin@gmail.com> dateFri 4 Mar 2022, 21:04 (5 years ago) parentcf805d3
1 file changed+1−1
pkgs/applications/science/misc/root/default.nix+1−1
pkgs/applications/science/misc/root/default.nix+1−1
@@ -107,7 +107,7 @@ stdenv.mkDerivation rec {
107107
108108 # Hardcode path to fix use with cmake
109109 sed -i cmake/scripts/ROOTConfig.cmake.in \
110− -e 'iset(nlohmann_json_DIR "${nlohmann_json}/lib/cmake/nlohmann_json/")'
110+ -e '1iset(nlohmann_json_DIR "${nlohmann_json}/lib/cmake/nlohmann_json/")'
111111
112112 patchShebangs build/unix/
113113 '' + lib.optionalString noSplash ''