mrustc: fixup build

Probably after gcc update.  Anyway, including standard headers
should be safe even if not utilized (and they do seem here).
This commit is contained in:
Vladimír Čunát 2022-04-17 10:14:55 +02:00
parent 309a9c59fb
commit a5aa12b446
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
sed -i 's/\$(shell git show --pretty=%H -s)/${rev}/' Makefile
sed -i 's/\$(shell git symbolic-ref -q --short HEAD || git describe --tags --exact-match)/${tag}/' Makefile
sed -i 's/\$(shell git diff-index --quiet HEAD; echo $$?)/0/' Makefile
sed '1i#include <limits>' -i src/trans/codegen_c.cpp
'';
strictDeps = true;