From 943fa12e6a7aaaec9af8bab5afa897d6086c4199 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 13 Sep 2020 07:55:14 +0200 Subject: hop: fix build The configure process tries to escape the sandbox by writing into /tmp --- pkgs/development/compilers/hop/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/compilers/hop/default.nix b/pkgs/development/compilers/hop/default.nix index f63f4169bc36..49687cfb2d81 100644 --- a/pkgs/development/compilers/hop/default.nix +++ b/pkgs/development/compilers/hop/default.nix @@ -7,6 +7,10 @@ stdenv.mkDerivation rec { sha256 = "1bvp7pc71bln5yvfj87s8750c6l53wjl6f8m12v62q9926adhwys"; }; + postPatch = '' + substituteInPlace configure --replace "(os-tmp)" '(getenv "TMPDIR")' + ''; + buildInputs = [ bigloo ]; preConfigure = '' -- cgit 1.4.1