trellis: Revert removal of CMAKE_INSTALL_DATADIR

This is used to refer to the database file. Without it
many tools can't be used.
This commit is contained in:
rowanG077 2021-10-14 07:58:32 +02:00 committed by Austin Seipp
parent 50ff5c608a
commit 56c31c1b13

@ -31,6 +31,8 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake python3 ];
cmakeFlags = [
"-DCURRENT_GIT_VERSION=${realVersion}"
# TODO: should this be in stdenv instead?
"-DCMAKE_INSTALL_DATADIR=${placeholder "out"}/share"
];
preConfigure = ''