nixpkgs/pkgs/test/problems/cases/removal-twice-error/default.nix
Silvan Mosberger 27dd434480 stdenv.mkDerivation: Initial RFC 127 implementation
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>
2026-02-26 14:53:30 +01:00

22 lines
488 B
Nix

{ nixpkgs }:
let
pkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [ ];
config.checkMeta = true;
};
in
pkgs.stdenvNoCC.mkDerivation {
pname = "a";
version = "0";
meta.description = "Some package";
meta.problems = {
removal = {
message = "This package has been abandoned upstream and will be removed";
};
removal2 = {
kind = "removal";
message = "This package has been abandoned upstream and will be removed2";
};
};
}