aboutsummaryrefslogtreecommitdiff
path: root/tests/build-hook.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-05-12 13:49:55 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-05-12 13:56:00 +0200
commit5722f9690c39d136ffbf452f3b85df09e8127712 (patch)
tree071fd202bfd56bf15b0c2a1ee8f94f8f9669b4ec /tests/build-hook.nix
parent5bdb67c84308a8cc78ac633d27b94eca87ea4390 (diff)
tests/binary-cache.sh: Improve incomplete closure test
Issue #3373.
Diffstat (limited to 'tests/build-hook.nix')
-rw-r--r--tests/build-hook.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/build-hook.nix b/tests/build-hook.nix
index 8bff0fe79..8c5ca8cd3 100644
--- a/tests/build-hook.nix
+++ b/tests/build-hook.nix
@@ -4,13 +4,13 @@ let
input1 = mkDerivation {
name = "build-hook-input-1";
- builder = ./dependencies.builder1.sh;
+ buildCommand = "mkdir $out; echo FOO > $out/foo";
requiredSystemFeatures = ["foo"];
};
input2 = mkDerivation {
name = "build-hook-input-2";
- builder = ./dependencies.builder2.sh;
+ buildCommand = "mkdir $out; echo BAR > $out/bar";
};
in