mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
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
@ -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 New Issue
Block a user