modules/nixpkgs: add image-roll overlay to fix failed tests
This commit is contained in:
parent
f1f8b4f01e
commit
9510653d50
1 changed files with 13 additions and 0 deletions
|
@ -29,6 +29,19 @@ in
|
|||
(pkg: elem (lib.getName pkg) cfg.allowUnfreePackages);
|
||||
|
||||
nixpkgs.overlays = lib.mkBefore [
|
||||
(final: prev: {
|
||||
image-roll = prev.image-roll.override {
|
||||
rustPlatform = prev.rustPlatform // {
|
||||
buildRustPackage = args:
|
||||
prev.rustPlatform.buildRustPackage (args // {
|
||||
checkFlags = args.checkFlags ++ [
|
||||
# Image type “ico” is not supported
|
||||
"--skip=image::tests::save_image_uses_extensions_for_file_types_supported_by_pixbuf_save"
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
})
|
||||
(final: prev: {
|
||||
unstable = import inputs.nixpkgs-unstable {
|
||||
inherit (config.nixpkgs) config overlays system;
|
||||
|
|
Loading…
Reference in a new issue