From 51830fefa947e25fc476490620f59612feaf5f0e Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Mon, 10 Mar 2025 17:14:44 +0100 Subject: [PATCH 1/2] Document flake inclusion criteria Towards #486 --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index adb56a2a..9ba6123c 100644 --- a/README.md +++ b/README.md @@ -70,3 +70,16 @@ To test whether your flake is compatible with nix flake-info you can try running ``` $ nix run github:nixos/nixos-search#flake-info -- flake ``` + +### Criteria for inclusion + +Inclusion in the search does not imply endorsement by the Nix project or anyone else. + +We generally try to include a wide range of flakes that could be of interest to Nix users, but reserve the right to refuse or remove flakes for reasons such as: + +* Flakes that do not actually work +* Malicious packages +* Flakes with incorrect or incomplete license metadata +* Lack of relevance +* Programs that are already part of nixpkgs (we prefer you help maintain them there) +* Outdated package or packaging From 9b9a00b56f5f397f7fa0a8372c560e980a1574a1 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Mon, 10 Mar 2025 17:30:16 +0100 Subject: [PATCH 2/2] Disallow `import-from-derivation` --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9ba6123c..b1a3cc5d 100644 --- a/README.md +++ b/README.md @@ -83,3 +83,4 @@ We generally try to include a wide range of flakes that could be of interest to * Lack of relevance * Programs that are already part of nixpkgs (we prefer you help maintain them there) * Outdated package or packaging +* Flakes that require `allow-import-from-derivation`