pkgs: add explicit 'meta.mainProgram'
Some checks failed
ci/woodpecker/push/check Pipeline failed

Since upstream has decided to deprecate the implied value when using
`lib.getExe` (see [1]), we should set it explicitly.

[1]: https://github.com/NixOS/nixpkgs/pull/246386
This commit is contained in:
Bruno BELANYI 2023-08-04 09:54:23 +00:00
parent 6123c7bc3b
commit 209a3f6c8d
14 changed files with 14 additions and 0 deletions

View file

@ -34,6 +34,7 @@ stdenvNoCC.mkDerivation rec {
description = "Nix flake helper to visualize changes in closures";
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
license = with licenses; [ mit ];
mainProgram = "diff-flake";
maintainers = with maintainers; [ ambroisie ];
platforms = platforms.unix;
};