about summary refs log tree commit diff
path: root/tests/build-hook.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-02T13·35+0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-02T13·46+0200
commit16535552ad69ca5397967b84fd70cc0d27a38ac1 (patch)
tree92070c2cb2190fbf883304f6c927c04570130c19 /tests/build-hook.nix
parentcef8c169b1d100685d7c7b7bfb921eaa43b5521b (diff)
build-remote: Add a basic test
This only runs on Linux because it requires a diverted store (which
uses mount/user namespaces).
Diffstat (limited to 'tests/build-hook.nix')
-rw-r--r--tests/build-hook.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/build-hook.nix b/tests/build-hook.nix
index 666cc6ef8041..8bff0fe79032 100644
--- a/tests/build-hook.nix
+++ b/tests/build-hook.nix
@@ -5,6 +5,7 @@ let
   input1 = mkDerivation {
     name = "build-hook-input-1";
     builder = ./dependencies.builder1.sh;
+    requiredSystemFeatures = ["foo"];
   };
 
   input2 = mkDerivation {