Commit fabd6242 authored by Marc Bornand's avatar Marc Bornand
Browse files

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.
parent a1d176f3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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