trying to find out why I can't build with only cargo
This commit is contained in:
parent
0c6dd01aed
commit
eef1903557
1 changed files with 10 additions and 4 deletions
14
flake.nix
14
flake.nix
|
@ -32,6 +32,7 @@
|
||||||
"rustfmt"
|
"rustfmt"
|
||||||
])
|
])
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
|
qt6.wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
bi = with pkgs; [
|
bi = with pkgs; [
|
||||||
|
@ -43,7 +44,6 @@
|
||||||
cmake
|
cmake
|
||||||
kdePackages.extra-cmake-modules
|
kdePackages.extra-cmake-modules
|
||||||
pkg-config
|
pkg-config
|
||||||
qt6.wrapQtAppsHook
|
|
||||||
makeWrapper
|
makeWrapper
|
||||||
|
|
||||||
openssl.dev
|
openssl.dev
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
# clang-format
|
# clang-format
|
||||||
qt6.full
|
qt6.full
|
||||||
qt6.qttools
|
qt6.qttools
|
||||||
qt6.qtbase
|
# qt6.qtbase
|
||||||
# qt6.qtquickcontrols2
|
# qt6.qtquickcontrols2
|
||||||
# qt6.qtx11extras
|
# qt6.qtx11extras
|
||||||
qt6.qtmultimedia
|
qt6.qtmultimedia
|
||||||
|
@ -106,8 +106,8 @@
|
||||||
CMAKE_C_COMPILER = "${pkgs.gcc}/bin/gcc";
|
CMAKE_C_COMPILER = "${pkgs.gcc}/bin/gcc";
|
||||||
CMAKE_CXX_COMPILER = "${pkgs.gcc}/bin/g++";
|
CMAKE_CXX_COMPILER = "${pkgs.gcc}/bin/g++";
|
||||||
CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG = true;
|
CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG = true;
|
||||||
# KDE_INCLUDEDIR = "${pkgs.kdePackages.kirigami.dev}/include";
|
# KDE_INCLUDEDIR = "${pkgs.kdePackages.kirigami}/include";
|
||||||
# KDE_QMLDIR = "${pkgs.kdePackages.kirigami.dev}/lib/qt-6/qml/org/kde/kirigami/";
|
# KDE_QMLDIR = "${pkgs.kdePackages.kirigami}/lib/qt-6/qml/";
|
||||||
|
|
||||||
# This creates the proper qt env so that plugins are found right.
|
# This creates the proper qt env so that plugins are found right.
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
@ -117,6 +117,12 @@
|
||||||
sed "/^exec/d" -i "$setQtEnvironment"
|
sed "/^exec/d" -i "$setQtEnvironment"
|
||||||
source "$setQtEnvironment"
|
source "$setQtEnvironment"
|
||||||
'';
|
'';
|
||||||
|
# shellHook = ''
|
||||||
|
# export CMAKE_PREFIX_PATH="${pkgs.qt6.full}/lib/cmake/Qt6:$CMAKE_PREFIX_PATH"
|
||||||
|
# bashdir=$(mktemp -d)
|
||||||
|
# makeWrapper "$(type -p bash)" "$bashdir/bash" "''${qtWrapperArgs[@]}"
|
||||||
|
# exec "$bashdir/bash"
|
||||||
|
# '';
|
||||||
DATABASE_URL =
|
DATABASE_URL =
|
||||||
"sqlite:///home/chris/.local/share/lumina/library-db.sqlite3";
|
"sqlite:///home/chris/.local/share/lumina/library-db.sqlite3";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue