about summary refs log tree commit diff
path: root/nixpkgs/pkgs/test/nixpkgs-check-by-name/tests/move-to-non-by-name/expected
blob: 123e24daab8a4230dcb44ee24e09fc9a3429c521 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
- Attribute `pkgs.foo1` was previously defined in pkgs/by-name/fo/foo1/package.nix, but is now manually defined as `callPackage ... { /* ... */ }` in all-packages.nix.
  Please move the package back and remove the manual `callPackage`.

- Attribute `pkgs.foo2` was previously defined in pkgs/by-name/fo/foo2/package.nix, but is now manually defined as `callPackage ./without-config.nix { /* ... */ }` in all-packages.nix.
  Please move the package back and remove the manual `callPackage`.

- Attribute `pkgs.foo3` was previously defined in pkgs/by-name/fo/foo3/package.nix, but is now manually defined as `callPackage ... { ... }` in all-packages.nix.
  While the manual `callPackage` is still needed, it's not necessary to move the package files.

- Attribute `pkgs.foo4` was previously defined in pkgs/by-name/fo/foo4/package.nix, but is now manually defined as `callPackage ./with-config.nix { ... }` in all-packages.nix.
  While the manual `callPackage` is still needed, it's not necessary to move the package files.

This PR introduces additional instances of discouraged patterns as listed above. Merging is discouraged but would not break the base branch.