From a5aa12b44617d965b0f7024167407c4161b1a6cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 17 Apr 2022 10:14:55 +0200 Subject: [PATCH] mrustc: fixup build Probably after gcc update. Anyway, including standard headers should be safe even if not utilized (and they do seem here). --- pkgs/development/compilers/mrustc/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/mrustc/default.nix b/pkgs/development/compilers/mrustc/default.nix index 4c813d88b765..2172c61099f2 100644 --- a/pkgs/development/compilers/mrustc/default.nix +++ b/pkgs/development/compilers/mrustc/default.nix @@ -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 ' -i src/trans/codegen_c.cpp ''; strictDeps = true;