aboutsummaryrefslogtreecommitdiff
path: root/tests/multiple-outputs.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-08-07 19:09:26 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-08-07 19:51:55 +0000
commite913a2989fd7dfabfd93c89fd4295386eda4277f (patch)
treecb59783b9ef1db080fec0c45070b8badbbc15dba /tests/multiple-outputs.nix
parentf7ba16f9cbc27b141f1797a7c4f1fd3243f31683 (diff)
Squashed get CA derivations building
Diffstat (limited to 'tests/multiple-outputs.nix')
-rw-r--r--tests/multiple-outputs.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/multiple-outputs.nix b/tests/multiple-outputs.nix
index 4a9010d18..b915493f7 100644
--- a/tests/multiple-outputs.nix
+++ b/tests/multiple-outputs.nix
@@ -2,6 +2,21 @@ with import ./config.nix;
rec {
+ # Want to ensure that "out" doesn't get a suffix on it's path.
+ nameCheck = mkDerivation {
+ name = "multiple-outputs-a";
+ outputs = [ "out" "dev" ];
+ builder = builtins.toFile "builder.sh"
+ ''
+ mkdir $first $second
+ test -z $all
+ echo "first" > $first/file
+ echo "second" > $second/file
+ ln -s $first $second/link
+ '';
+ helloString = "Hello, world!";
+ };
+
a = mkDerivation {
name = "multiple-outputs-a";
outputs = [ "first" "second" ];