about summary refs log tree commit diff
path: root/nixos/modules/config/stub-ld.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/config/stub-ld.nix')
-rw-r--r--nixos/modules/config/stub-ld.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/stub-ld.nix b/nixos/modules/config/stub-ld.nix
index 87b7bdf07a2d..05945852ee45 100644
--- a/nixos/modules/config/stub-ld.nix
+++ b/nixos/modules/config/stub-ld.nix
@@ -49,7 +49,7 @@ in {
 
   config = mkIf cfg.enable {
     environment.ldso = mkDefault stub-ld;
-    environment.ldso32 = mkIf pkgs.stdenv.isx86_64 (mkDefault stub-ld32);
+    environment.ldso32 = mkIf pkgs.stdenv.hostPlatform.isx86_64 (mkDefault stub-ld32);
   };
 
   meta.maintainers = with lib.maintainers; [ tejing ];