From e2464bbe5958ac199df0e823dcf232cc8272151e Mon Sep 17 00:00:00 2001 From: SandaruKasa Date: Sat, 13 Jun 2026 02:01:14 +0300 Subject: [PATCH] libfaketime: use `CFLAGS` instead of `NIX_CFLAGS_COMPILE` pkgsLLVM.libfaketime wouldn't link both before or after this change, but pkgsCross.loongarch64-linux.libfaketime would and gave the same output after `nix store make-content-addressed` before and after this change. --- pkgs/by-name/li/libfaketime/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/li/libfaketime/package.nix b/pkgs/by-name/li/libfaketime/package.nix index cf5c047850da..ecdb04678b32 100644 --- a/pkgs/by-name/li/libfaketime/package.nix +++ b/pkgs/by-name/li/libfaketime/package.nix @@ -55,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: { env = { PREFIX = placeholder "out"; LIBDIRNAME = "/lib"; - NIX_CFLAGS_COMPILE = toString ( + CFLAGS = toString ( lib.optionals stdenv.cc.isClang [ "-Wno-error=cast-function-type" "-Wno-error=format-truncation"