treefmt / nix fmt (pull_request) Successful in 3s
test ebook search / test-ebook-search (pull_request) Failing after 8h50m21s
pytest / pytest (pull_request) Failing after 8h50m22s
build_systems / build-rhapsody-in-green (pull_request) Failing after 8h50m23s
build_systems / build-portal-1 (pull_request) Failing after 8h50m24s
build_systems / build-jeeves (pull_request) Failing after 8h50m24s
build_systems / build-brain (pull_request) Failing after 8h50m24s
build_systems / build-bob (pull_request) Failing after 8h50m24s
18 lines
433 B
Nix
18 lines
433 B
Nix
{ prometheus }:
|
|
prometheus.overrideAttrs (
|
|
old:
|
|
let
|
|
assets = old.passthru.assets.overrideAttrs (assetsOld: {
|
|
patches = (assetsOld.patches or [ ]) ++ [ ./complete-test-parsing.patch ];
|
|
});
|
|
in
|
|
{
|
|
postPatch = builtins.replaceStrings [ "${old.passthru.assets}" ] [ "${assets}" ] (
|
|
builtins.unsafeDiscardStringContext old.postPatch
|
|
);
|
|
passthru = old.passthru // {
|
|
inherit assets;
|
|
};
|
|
}
|
|
)
|