{ lib, stdenvNoCC, makeWrapper, quickshell, qt6, }: stdenvNoCC.mkDerivation { pname = "nova-shell"; version = "0.1.0"; src = lib.cleanSource ../.; nativeBuildInputs = [ makeWrapper qt6.qtshadertools ]; dontBuild = true; installPhase = '' runHook preInstall mkdir -p $out/share/nova-shell cp -r shell.qml modules $out/share/nova-shell/ # Compile fragment shader to Qt RHI format qsb --qt6 \ -o $out/share/nova-shell/modules/hex_wave.frag.qsb \ modules/hex_wave.frag mkdir -p $out/bin makeWrapper ${lib.getExe quickshell} $out/bin/nova-shell \ --add-flags "-p $out/share/nova-shell/shell.qml" runHook postInstall ''; meta = { description = "Minimal Quickshell bar for niri"; mainProgram = "nova-shell"; platforms = lib.platforms.linux; }; }