From 2c8c103ef80378bfcfa29ae054fd878305b5e275 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date: Mon, 12 Sep 2016 13:40:07 +0200
Subject: [PATCH] Fix gc-runtime test

It was failing on some platforms.

http://hydra.nixos.org/build/39538866
---
 tests/gc-runtime.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gc-runtime.sh b/tests/gc-runtime.sh
index a44195756..4c5028005 100644
--- a/tests/gc-runtime.sh
+++ b/tests/gc-runtime.sh
@@ -10,7 +10,7 @@ esac
 set -m # enable job control, needed for kill
 
 profiles="$NIX_STATE_DIR"/profiles
-rm -f $profiles/*
+rm -rf $profiles
 
 nix-env -p $profiles/test -f ./gc-runtime.nix -i gc-runtime
 
-- 
GitLab