waylandpp: fix after incorrect merge

+5 -3
+5 -3
pkgs/development/libraries/waylandpp/default.nix
··· 25 25 sha256 = "1r4m0xhvwpcqxrqvp3hz1bzlkxqj2jiymd5r6hj8xjzz536hyprz"; 26 26 }; 27 27 28 - cmakeFlags = stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "-DWAYLAND_SCANNERPP=${buildPackages.waylandpp}/bin/wayland-scanner++"; 28 + cmakeFlags = [ 29 + "-DCMAKE_INSTALL_DATADIR=${placeholder "dev"}" 30 + ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 31 + "-DWAYLAND_SCANNERPP=${buildPackages.waylandpp}/bin/wayland-scanner++" 32 + ]; 29 33 30 34 nativeBuildInputs = [ cmake pkgconfig ] ++ optional docSupport doxygen; 31 35 buildInputs = [ pugixml wayland libGL libffi ]; 32 36 33 37 outputs = [ "bin" "dev" "lib" "out" ] ++ optionals docSupport [ "doc" "devman" ]; 34 - 35 - cmakeFlags = [ "-DCMAKE_INSTALL_DATADIR=${placeholder "dev"}" ]; 36 38 37 39 meta = with stdenv.lib; { 38 40 description = "Wayland C++ binding";