NixOS: flake leaves out build/; export starvation tests start warm
The flake's source skips dev.sh's build folder, which nixpkgs' CMake hook took for its own. ProjectExportFailureTests crashed on NixOS inside fontconfig: its limit held the process's first font lookup. initTestCase now opens a panel and an alert first, as the app has before any export. A new test holds the JPEG render's snapshot to a move. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
d0088fac89
commit
2807b77e8c
4 files changed
+51
-3
No files matched your search
@@ -14,7 +14,11 @@
|
||||
packages.x86_64-linux.default = pkgs.stdenv.mkDerivation {
|
||||
pname = "omaphoto";
|
||||
version = "1.0.0";
|
||||
src = self;
|
||||
# dev.sh builds in ./build; the package starts clean.
|
||||
src = pkgs.lib.cleanSourceWith {
|
||||
src = self;
|
||||
filter = path: type: path != "${toString self}/build";
|
||||
};
|
||||
nativeBuildInputs = with pkgs; [ cmake ninja pkg-config qt6.wrapQtAppsHook ];
|
||||
buildInputs = with pkgs; [ qt6.qtbase qt6.qtimageformats libheif libde265 fontconfig onnxruntime ];
|
||||
cmakeFlags = [ "-DOMAPHOTO_MODEL=${model}" ];
|
||||
|
||||
Reference in new issue
Block a user