about summary refs log tree commit diff
path: root/pkgs/development/interpreters/tclreadline/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/interpreters/tclreadline/default.nix')
-rw-r--r--pkgs/development/interpreters/tclreadline/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/tclreadline/default.nix b/pkgs/development/interpreters/tclreadline/default.nix
index de671bab5739..de5f3174506b 100644
--- a/pkgs/development/interpreters/tclreadline/default.nix
+++ b/pkgs/development/interpreters/tclreadline/default.nix
@@ -41,7 +41,7 @@ tcl.mkTclDerivation rec {
 
   # The provided makefile leaves a wrong reference to /build/ in RPATH,
   # so we fix it after checking that everything is also present in $out
-  preFixup = lib.optionalString stdenv.isLinux ''
+  preFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
     needed_libraries=$(ls .libs | grep '\.\(so\|la\)$')
     for lib in $needed_libraries; do
       if ! ls $out/lib | grep "$lib"; then