pkgs: add explicit 'meta.mainProgram'

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 761393205c
commit 405965dc72
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;
};