diff options
author | Rasmus Rendal <rasmus@rend.al> | 2022-05-09 09:09:13 +0200 |
---|---|---|
committer | Rasmus Rendal <rasmus@rend.al> | 2022-05-09 11:56:06 +0200 |
commit | 4317c93104b4473d2482766fe867f646752dd499 (patch) | |
tree | 63cd86b719090b02e390e3f49282609e7a95b49b /pkgs/tools/security/rhash/default.nix | |
parent | 600d32b5bfde5ceac9c36a4c62b48edec1ea2797 (diff) |
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
Diffstat (limited to 'pkgs/tools/security/rhash/default.nix')
-rw-r--r-- | pkgs/tools/security/rhash/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/security/rhash/default.nix b/pkgs/tools/security/rhash/default.nix index e82052d961b8c..e071f460b1aa9 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") ]; |