phash: move NIX_LDFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-01 23:23:29 +01:00
parent c8674759bb
commit bb2fe6d6c6
+1 -1
View File
@@ -34,7 +34,7 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-frISiZ89ei7XfI5F2nJJehfQZsk0Mlb4n91q/AiZ2vA=";
};
NIX_LDFLAGS = "-lfftw3_threads";
env.NIX_LDFLAGS = "-lfftw3_threads";
patches = [
# proper pthread return value (https://github.com/clearscene/pHash/pull/20)