-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Also fix merge conflicts * Make sure that performance PR is conserved * Use RunCommand instead of alias RunCommandNoCC * Add enum types to meta-types.nix and use them for problemTypes * Nixfmt (excepted check-meta.nix) * "import" elem * Remove dead code
- Loading branch information
1 parent
2c52dcf
commit 69b5584
Showing
36 changed files
with
616 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
pkgs/test/problems/cases/deprecated-and-removal-and-maintainerless-error/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ nixpkgs }: | ||
let | ||
pkgs = import nixpkgs { | ||
system = "x86_64-linux"; | ||
overlays = [ ]; | ||
config = { | ||
problems.handlers = { | ||
"a"."deprecated" = "error"; | ||
"a"."removal" = "error"; | ||
"a"."maintainerless" = "error"; | ||
}; | ||
}; | ||
}; | ||
in | ||
pkgs.stdenvNoCC.mkDerivation { | ||
pname = "a"; | ||
version = "0"; | ||
meta.problems = { | ||
deprecated.message = "Package is deprecated and replaced by b"; | ||
removal.message = "Package will be removed."; | ||
}; | ||
meta.maintainers = [ ]; | ||
} |
Oops, something went wrong.