ansel: tell the build script we package ansel

We set BINARY_PACKAGE_BUILD=1
This removes the use of -march=native
and also compiles some low-level function
for different vector instruction sets

The upstream repo uses it in ci and packaging instructions.
This commit is contained in:
Marc Bornand
2025-08-18 17:42:54 +02:00
parent a1d176f3a3
commit fabd6242e2
+3
View File
@@ -170,6 +170,9 @@ stdenv.mkDerivation {
--prefix LD_LIBRARY_PATH ":" "$out/lib/ansel"
)
'';
cmakeFlags = [
"-DBINARY_PACKAGE_BUILD=1"
];
passthru.updateScript = unstableGitUpdater {
# Tags inherited from Darktable, + a "nightly" 0.0.0 tag that new artefacts get attached to