about summary refs log tree commit diff
path: root/nixpkgs/pkgs/test/nixpkgs-check-by-name/tests/alt-callPackage/expected
blob: 1d92e652200e4968ddfa5453df1bfab70b3be0ca (plain) (blame)
1
2
3
4
5
6
7
8
9
- Because pkgs/by-name/fo/foo exists, the attribute `pkgs.foo` must be defined like

    foo = callPackage ./pkgs/by-name/fo/foo/package.nix { /* ... */ };

  However, in this PR, a different `callPackage` is used. See the definition in all-packages.nix:5:

    foo = self.alt.callPackage ({ }: self.someDrv) { };

This PR introduces the problems listed above. Please fix them before merging, otherwise the base branch would break.