mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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:
parent
309a9c59fb
commit
a5aa12b446
@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i 's/\$(shell git show --pretty=%H -s)/${rev}/' Makefile
|
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 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 -i 's/\$(shell git diff-index --quiet HEAD; echo $$?)/0/' Makefile
|
||||||
|
sed '1i#include <limits>' -i src/trans/codegen_c.cpp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user