diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-29 14:09:55 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-29 14:09:55 +1000 |
| commit | 84cd315aa06f03c53b71fcef2456dab3774b5811 (patch) | |
| tree | 3e88b355be08bf308e64bd472f6e1d98e937de1a /nix/default.nix | |
| parent | nix: better nix develop + refactor (#490) (diff) | |
| download | caelestia-shell-84cd315aa06f03c53b71fcef2456dab3774b5811.tar.gz caelestia-shell-84cd315aa06f03c53b71fcef2456dab3774b5811.tar.bz2 caelestia-shell-84cd315aa06f03c53b71fcef2456dab3774b5811.zip | |
nix: fixes
Diffstat (limited to 'nix/default.nix')
| -rw-r--r-- | nix/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nix/default.nix b/nix/default.nix index 11ea33d..a022a4a 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -68,7 +68,7 @@ name = "caelestia-assets"; src = ./../assets/cpp; - nativeBuildInputs = [cmake pkg-config]; + nativeBuildInputs = [cmake ninja pkg-config]; buildInputs = [aubio pipewire]; cmakeFlags = [(lib.cmakeFeature "INSTALL_LIBDIR" "${placeholder "out"}/lib")]; @@ -77,8 +77,10 @@ plugin = stdenv.mkDerivation { name = "caelestia-qml-plugin"; src = ./../plugin; - nativeBuildInputs = [cmake]; + + nativeBuildInputs = [cmake ninja]; buildInputs = [qt6.qtbase qt6.qtdeclarative]; + dontWrapQtApps = true; cmakeFlags = [(lib.cmakeFeature "INSTALL_QMLDIR" qt6.qtbase.qtQmlPrefix)]; }; @@ -95,8 +97,8 @@ in cmakeBuildType = "Release"; cmakeFlags = [ (lib.cmakeFeature "VERSION" version) - (lib.cmakeFeature "DONT_BUILD_PLUGIN" "ON") - (lib.cmakeFeature "DONT_BUILD_ASSETS" "ON") + (lib.cmakeBool "DONT_BUILD_PLUGIN" true) + (lib.cmakeBool "DONT_BUILD_ASSETS" true) (lib.cmakeFeature "INSTALL_QSCONFDIR" "${placeholder "out"}/share/caelestia-shell") ]; |