replace reproducer with nova-shell-unpatched flake output for A/B testing

This commit is contained in:
Damocles 2026-04-20 23:03:28 +02:00
parent c26e79458a
commit 90c3bd3da2
3 changed files with 7 additions and 110 deletions

View file

@ -89,21 +89,19 @@
docs = pkgs.callPackage ./nix/docs.nix { inherit self; };
default = nova-shell;
# Reproducer wrappers: run test/screen-uaf-reproducer/shell.qml
# with patched vs unpatched quickshell to confirm the fix.
screen-uaf-reproducer-patched = pkgs.writeShellScriptBin "screen-uaf-reproducer-patched" ''
exec ${qs}/bin/quickshell -p ${./test/screen-uaf-reproducer/shell.qml}
'';
screen-uaf-reproducer-unpatched =
# nova-shell on unpatched Qt for A/B crash testing
nova-shell-unpatched =
let
qsUnpatched = (rawPkgs.extend quickshell.overlays.default).quickshell.override {
withX11 = false;
withI3 = false;
};
in
rawPkgs.writeShellScriptBin "screen-uaf-reproducer-unpatched" ''
exec ${qsUnpatched}/bin/quickshell -p ${./test/screen-uaf-reproducer/shell.qml}
'';
rawPkgs.callPackage ./nix/package.nix {
quickshell = qsUnpatched;
nova-stats = rawPkgs.callPackage ./nix/stats-daemon.nix { };
nova-shaders = rawPkgs.callPackage ./nix/shaders.nix { };
};
}
);