mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
See https://github.com/NixOS/rfcs/blob/master/rfcs/0127-issues-warnings.md Co-Authored-By: piegames <git@piegames.de> Co-Authored-By: AkechiShiro <14914796+AkechiShiro@users.noreply.github.com>
20 lines
420 B
Nix
20 lines
420 B
Nix
{ nixpkgs }:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
system = "x86_64-linux";
|
|
overlays = [ ];
|
|
config = {
|
|
problems.handlers = {
|
|
"a"."maintainerless" = "warn";
|
|
"a"."removal" = "warn";
|
|
};
|
|
};
|
|
};
|
|
in
|
|
pkgs.stdenvNoCC.mkDerivation {
|
|
pname = "a";
|
|
version = "0";
|
|
meta.description = "Some package";
|
|
meta.maintainers = [ ];
|
|
meta.problems.removal.message = "Package will be removed.";
|
|
}
|