From 9e8d4ca3b644a5fb159140e1110ef7c9ad6ff31b Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 19 Apr 2017 09:33:21 +0200 Subject: profiles/base: Fix build of nix-repl Compiling nix-repl with Nix 1.12pre5152_915f62fa will only work by enabling support for ISO C++ 2014, because nix/util.hh uses includes from . Signed-off-by: aszlig --- modules/user/aszlig/profiles/base.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/user/aszlig/profiles/base.nix b/modules/user/aszlig/profiles/base.nix index 55a39e28..47a64eda 100644 --- a/modules/user/aszlig/profiles/base.nix +++ b/modules/user/aszlig/profiles/base.nix @@ -90,6 +90,7 @@ in { rev = "0e49f941205769852846cb8afa228831cf6ae363"; sha256 = "0zsxkxypnm8zzzslvcdqips7glbxw1riq9mxn9w23kayl8d1mfpx"; }; + NIX_CFLAGS_COMPILE = "-std=c++1y"; postPatch = (drv.postPatch or "") + '' sed -i -e 's/pid\.wait(true)/pid.wait()/g' nix-repl.cc ''; -- cgit 1.4.1