From 7c8c42dfdcab3bd2c8ab05a806035bf1804285ab Mon Sep 17 00:00:00 2001
From: regnat <rg@regnat.ovh>
Date: Mon, 13 Sep 2021 14:29:42 +0200
Subject: [PATCH] tests: Fix the recursive test with the daemon

Add the `recursive-nix` experimental-feature to the daemon, as the test
will otherwise fail
---
 tests/recursive.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/recursive.sh b/tests/recursive.sh
index b6740877d..91518d67d 100644
--- a/tests/recursive.sh
+++ b/tests/recursive.sh
@@ -1,5 +1,8 @@
 source common.sh
 
+sed -i 's/experimental-features .*/& recursive-nix/' "$NIX_CONF_DIR"/nix.conf
+restartDaemon
+
 # FIXME
 if [[ $(uname) != Linux ]]; then exit 99; fi