3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #41219 from tilpner/racket-uname

racket: use proper uname, allow for unix sockets
This commit is contained in:
Jörg Thalheim 2018-05-29 22:16:36 +01:00 committed by GitHub
commit b438709ca6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
'';