i-score: CMAKE_PREFIX_PATH can be undefined

This commit is contained in:
John Ericson 2019-11-05 14:21:42 -05:00
parent cdbbaa91ed
commit 2c1d9d8bc1

View File

@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
];
preConfigure = ''
export CMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH:$(echo "${jamomacore}/jamoma/share/cmake/Jamoma")"
export CMAKE_PREFIX_PATH="''${CMAKE_PREFIX_PATH-}:$(echo "${jamomacore}/jamoma/share/cmake/Jamoma")"
'';
postInstall = ''rm $out/bin/i-score.sh'';