diff options
Diffstat (limited to 'nixpkgs/pkgs/test/nixpkgs-check-by-name/tests/sorted-order/expected')
-rw-r--r-- | nixpkgs/pkgs/test/nixpkgs-check-by-name/tests/sorted-order/expected | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/nixpkgs/pkgs/test/nixpkgs-check-by-name/tests/sorted-order/expected b/nixpkgs/pkgs/test/nixpkgs-check-by-name/tests/sorted-order/expected deleted file mode 100644 index 8a8104b73720..000000000000 --- a/nixpkgs/pkgs/test/nixpkgs-check-by-name/tests/sorted-order/expected +++ /dev/null @@ -1,31 +0,0 @@ -- Because pkgs/by-name/a/a exists, the attribute `pkgs.a` must be defined like - - a = callPackage ./pkgs/by-name/a/a/package.nix { /* ... */ }; - - However, in this PR, the second argument is empty. See the definition in all-packages.nix:2: - - a = self.callPackage ./pkgs/by-name/a/a/package.nix { }; - - Such a definition is provided automatically and therefore not necessary. Please remove it. - -- Attribute `pkgs.b` is a new top-level package using `pkgs.callPackage ... { /* ... */ }`. - Please define it in pkgs/by-name/b/b/package.nix instead. - See `pkgs/by-name/README.md` for more details. - Since the second `callPackage` argument is `{ }`, no manual `callPackage` in all-packages.nix is needed anymore. - -- Because pkgs/by-name/c/c exists, the attribute `pkgs.c` must be defined like - - c = callPackage ./pkgs/by-name/c/c/package.nix { /* ... */ }; - - However, in this PR, the second argument is empty. See the definition in all-packages.nix:4: - - c = self.callPackage ./pkgs/by-name/c/c/package.nix { }; - - Such a definition is provided automatically and therefore not necessary. Please remove it. - -- Attribute `pkgs.d` is a new top-level package using `pkgs.callPackage ... { /* ... */ }`. - Please define it in pkgs/by-name/d/d/package.nix instead. - See `pkgs/by-name/README.md` for more details. - Since the second `callPackage` argument is `{ }`, no manual `callPackage` in all-packages.nix is needed anymore. - -This PR introduces additional instances of discouraged patterns as listed above. Merging is discouraged but would not break the base branch. |