adding rust to default.nix and kcoreaddons to CMakeLists

This commit is contained in:
Chris Cochrun 2022-12-09 09:11:19 -06:00
parent 7a1f98aeb4
commit 51410f2469
2 changed files with 17 additions and 1 deletions

View file

@ -108,6 +108,7 @@ target_link_libraries(${CRATE} INTERFACE
KF5::Kirigami2 KF5::Kirigami2
KF5::I18n KF5::I18n
KF5::Archive KF5::Archive
KF5::CoreAddons
podofo podofo
mpv mpv
) )

View file

@ -29,7 +29,14 @@
kcoreaddons, kcoreaddons,
# lightly-qt, # lightly-qt,
podofo, podofo,
mpv mpv,
# Rust tools
clippy,
rustc,
cargo,
rustfmt,
rust-analyzer,
corrosion
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -72,6 +79,13 @@ stdenv.mkDerivation rec {
# libsForQt5.kconfig # libsForQt5.kconfig
# ffmpeg-full # ffmpeg-full
# yt-dlp # yt-dlp
# Rust tools
clippy
rustc
cargo
rustfmt
rust-analyzer
corrosion
]; ];
# preConfigure = '' # preConfigure = ''
@ -103,6 +117,7 @@ stdenv.mkDerivation rec {
rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/ rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/
''; '';
RUST_BACKTRACE = 1;
meta = with lib; { meta = with lib; {
name = "Libre Presenter"; name = "Libre Presenter";
description = "A church presentation software made with QT/QML"; description = "A church presentation software made with QT/QML";