about summary refs log tree commit diff
path: root/pkgs/test
diff options
context:
space:
mode:
authorDavid McFarland <corngood@gmail.com>2024-06-02 16:26:42 -0300
committerDavid McFarland <corngood@gmail.com>2024-06-02 16:53:42 -0300
commita7a6356c14ddfe1b2c6a017606d96c474c519a39 (patch)
tree109cc60a4f3934d9ddd15c606a24d2c042c9620a /pkgs/test
parentf44b27ce93b6bb137180162ac8aa03697fa0876e (diff)
tests.dotnet.project-references: use dir instead of file output
This fixes an error in nixpkgs-review when it tries to pass this to
buildEnv:

error: The store path [...]project-references-test is a file and can't
be merged into an environment using pkgs.buildEnv! at [...]-builder.pl
line 122.
Diffstat (limited to 'pkgs/test')
-rw-r--r--pkgs/test/dotnet/project-references/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/test/dotnet/project-references/default.nix b/pkgs/test/dotnet/project-references/default.nix
index f40b9196c2091..0736cedc9096b 100644
--- a/pkgs/test/dotnet/project-references/default.nix
+++ b/pkgs/test/dotnet/project-references/default.nix
@@ -34,5 +34,5 @@ in
 
 runCommand "project-references-test" { } ''
   ${application}/bin/Application
-  touch $out
+  mkdir $out
 ''