mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
noisetorch: add meta.mainProgram
the `lib.getExe`'s feature to use the package's name as the binary is deprecated, and `pkgs/README.md` says: > `meta.mainProgram` must be set when appropriate. This just adds the `meta.mainProgram` to `noisetorch` as it's the only binary.
This commit is contained in:
parent
ed89f4fb9c
commit
2a343855de
|
@ -37,5 +37,6 @@ buildGoModule rec {
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ panaeon lom ];
|
maintainers = with maintainers; [ panaeon lom ];
|
||||||
|
mainProgram = "noisetorch";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue