about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libstore/build.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 727b8b3444ab..69c3c2c1e041 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -1665,7 +1665,6 @@ HookReply DerivationGoal::tryBuildHook()
            required from the build machine.  (The hook could parse the
            drv file itself, but this is easier.) */
         auto features = getStringsAttr("requiredSystemFeatures").value_or(Strings());
-        for (auto & i : features) checkStoreName(i); /* !!! abuse */
 
         /* Send the request to the hook. */
         worker.hook->sink