updating bits of nix stuff
This commit is contained in:
parent
dafe74de25
commit
85f43fcc76
2 changed files with 7 additions and 4 deletions
|
@ -35,8 +35,8 @@
|
|||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libre-presenter";
|
||||
pname = "libre-presenter";
|
||||
name = "lumina";
|
||||
pname = "lumina";
|
||||
version = "0.0.1";
|
||||
|
||||
__noChroot = true;
|
||||
|
@ -109,7 +109,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
meta = with lib; {
|
||||
name = "Libre Presenter";
|
||||
name = "Lumina";
|
||||
description = "A church presentation software made with QT/QML";
|
||||
homepage = "";
|
||||
license = licenses.gpl3;
|
||||
|
|
|
@ -56,7 +56,7 @@ mkShell rec {
|
|||
rust-analyzer
|
||||
corrosion
|
||||
];
|
||||
|
||||
|
||||
# cargoDeps = rustPlatform.importCargoLock {
|
||||
# lockFile = ./Cargo.lock;
|
||||
# };
|
||||
|
@ -66,6 +66,8 @@ mkShell rec {
|
|||
CMAKE_C_COMPILER = "${gcc}/bin/gcc";
|
||||
CMAKE_CXX_COMPILER = "${gcc}/bin/g++";
|
||||
# QT_SCALE_FACTOR = 1;
|
||||
# QT_PLUGIN_PATH="${QT_PLUGIN_PATH/':''/nix/store/85jx8w2nh1ln4kb0hf3dc6ky0dh6ri24-lightly-qt-0.4.1/lib/qt-5.15.9/plugins'':'/':'}"
|
||||
# QML2_IMPORT_PATH=${QML2_IMPORT_PATH/':''/run/current-system/sw/lib/qt-5.15.10/qml'':'/':'}
|
||||
|
||||
# This creates the proper qt env so that plugins are found right.
|
||||
shellHook = ''
|
||||
|
@ -74,5 +76,6 @@ mkShell rec {
|
|||
makeQtWrapper "/bin/sh" "$setQtEnvironment" "''${qtWrapperArgs[@]}"
|
||||
sed "/^exec/d" -i "$setQtEnvironment"
|
||||
source "$setQtEnvironment"
|
||||
export QT_PLUGIN_PATH="$QT_PLUGIN_PATH:/nix/store/85jx8w2nh1ln4kb0hf3dc6ky0dh6ri24-lightly-qt-0.4.1/lib/qt-5.15.9/plugins"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue