From 4317c93104b4473d2482766fe867f646752dd499 Mon Sep 17 00:00:00 2001 From: Rasmus Rendal Date: Mon, 9 May 2022 09:09:13 +0200 Subject: [PATCH] rhash: Correctly set target platform when configuring The non-standard configure script did not detect it, and we have to supply this argument. This closes #113742 --- pkgs/tools/security/rhash/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/security/rhash/default.nix b/pkgs/tools/security/rhash/default.nix index e82052d961b..e071f460b1a 100644 --- a/pkgs/tools/security/rhash/default.nix +++ b/pkgs/tools/security/rhash/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--ar=${stdenv.cc.targetPrefix}ar" + "--target=${stdenv.hostPlatform.config}" (lib.enableFeature enableStatic "static") (lib.enableFeature enableStatic "lib-static") ];