From 51410f24693b021e38547c61b0c7bd612442b600 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 9 Dec 2022 09:11:19 -0600 Subject: [PATCH] adding rust to default.nix and kcoreaddons to CMakeLists --- CMakeLists.txt | 1 + default.nix | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e096aef..686a388 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,6 +108,7 @@ target_link_libraries(${CRATE} INTERFACE KF5::Kirigami2 KF5::I18n KF5::Archive + KF5::CoreAddons podofo mpv ) diff --git a/default.nix b/default.nix index c84e410..beeb316 100644 --- a/default.nix +++ b/default.nix @@ -29,7 +29,14 @@ kcoreaddons, # lightly-qt, podofo, - mpv + mpv, + # Rust tools + clippy, + rustc, + cargo, + rustfmt, + rust-analyzer, + corrosion }: stdenv.mkDerivation rec { @@ -72,6 +79,13 @@ stdenv.mkDerivation rec { # libsForQt5.kconfig # ffmpeg-full # yt-dlp + # Rust tools + clippy + rustc + cargo + rustfmt + rust-analyzer + corrosion ]; # preConfigure = '' @@ -103,6 +117,7 @@ stdenv.mkDerivation rec { rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/ ''; + RUST_BACKTRACE = 1; meta = with lib; { name = "Libre Presenter"; description = "A church presentation software made with QT/QML";