From 84a4712bcb567905aeecf7afc009848fdc457ea4 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 31 Jan 2024 20:07:35 +0100 Subject: [PATCH] lib/tests/packages-from-directory: make sure all .nix files parse It is useful that all (or almost all) .nix files in nixpkgs at least parse since it allows for checking syntax in the repository programmatically without evaluating anything. --- .../packages-from-directory/c/not-a-namespace/not-a-package.nix | 1 + lib/tests/packages-from-directory/c/support-definitions.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/tests/packages-from-directory/c/not-a-namespace/not-a-package.nix b/lib/tests/packages-from-directory/c/not-a-namespace/not-a-package.nix index e69de29bb2d1..ffcd4415b08f 100644 --- a/lib/tests/packages-from-directory/c/not-a-namespace/not-a-package.nix +++ b/lib/tests/packages-from-directory/c/not-a-namespace/not-a-package.nix @@ -0,0 +1 @@ +{ } diff --git a/lib/tests/packages-from-directory/c/support-definitions.nix b/lib/tests/packages-from-directory/c/support-definitions.nix index e69de29bb2d1..ffcd4415b08f 100644 --- a/lib/tests/packages-from-directory/c/support-definitions.nix +++ b/lib/tests/packages-from-directory/c/support-definitions.nix @@ -0,0 +1 @@ +{ }