0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

stub-ld: disable 32-bit stub ld on 64-bit systems (#398449)

This commit is contained in:
Vladimír Čunát 2025-04-27 13:36:58 +02:00
commit 22f5df0632
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -42,10 +42,7 @@ let
$CC -Os main.c -o $out
'';
pkgs32 = pkgs.pkgsi686Linux;
stub-ld = stub-ld-for pkgs message;
stub-ld32 = stub-ld-for pkgs32 message;
in
{
options = {
@ -65,7 +62,6 @@ in
config = mkIf cfg.enable {
environment.ldso = mkDefault stub-ld;
environment.ldso32 = mkIf pkgs.stdenv.hostPlatform.isx86_64 (mkDefault stub-ld32);
};
meta.maintainers = with lib.maintainers; [ tejing ];