diff --git a/pkgs/development/interpreters/racket/default.nix b/pkgs/development/interpreters/racket/default.nix index 32d24fa88356..f25d2933ab7f 100644 --- a/pkgs/development/interpreters/racket/default.nix +++ b/pkgs/development/interpreters/racket/default.nix @@ -58,7 +58,9 @@ stdenv.mkDerivation rec { preConfigure = '' unset AR - substituteInPlace src/configure --replace /usr/bin/uname ${coreutils}/bin/uname + for f in src/configure src/racket/src/string.c; do + substituteInPlace "$f" --replace /usr/bin/uname ${coreutils}/bin/uname + done mkdir src/build cd src/build '';