racket: use proper uname, allow for unix sockets
Racket checks the current platform via uname, then disallows unix domain socket usage based on the result. Previously, it could not successfully call uname at all, so it fell back to denying UDS.
This commit is contained in:
parent
0450c7f5f3
commit
a12a277e62
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue