about summary refs log tree commit diff
path: root/pkgs/test/nixpkgs-check-by-name/tests/override-non-path/expected
blob: 4adbaf66edc0e82b7df3eb85f361153e716e68d7 (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, the first `callPackage` argument is not a path. See the definition in all-packages.nix:3:

    foo = self.callPackage ({ someDrv, someFlag }: someDrv) { someFlag = true; };

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