diff --git a/README.md b/README.md index 6976adb8..fa250161 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ quality vertical DevOps tooling crafted by the [Nix Ecosystem][ecosystem]. [![Numtide Devshell](https://img.shields.io/badge/Numtide-Devshell-yellowgreen?style=for-the-badge&logo=NixOS)](https://github.com/numtide/devshell) [![Numtide Treefmt](https://img.shields.io/badge/Numtide-Treefmt-yellow?style=for-the-badge&logo=NixOS)](https://github.com/numtide/treefmt) [![Nlewo Nix2Container](https://img.shields.io/badge/Nlewo-Nix2Container-blue?style=for-the-badge&logo=NixOS)](https://github.com/nlewo/nix2container) -[![Fluidattacks Makes](https://img.shields.io/badge/Fluidattacks-Makes-blue?style=for-the-badge&logo=NixOS)](https://github.com/fluidattacks/makes) +[![Fluidattacks Makes (DEPRECATED)](https://img.shields.io/badge/Fluidattacks-Makes%20(DEPRECATED)-red?style=for-the-badge&logo=NixOS)](https://github.com/fluidattacks/makes) [![Astro MicroVM](https://img.shields.io/badge/Astro-MicroVM-blue?style=for-the-badge&logo=NixOS)](https://github.com/astro/microvm.nix) [![HerculesCI FlakeParts](https://img.shields.io/badge/HerculesCI-FlakeParts-lightgrey?style=for-the-badge&logo=NixOS)](https://github.com/hercules-ci/flake-parts) [![Cachix Cache](https://img.shields.io/badge/Cachix-Cache-blue?style=for-the-badge&logo=NixOS)](https://github.com/cachix) diff --git a/deprecation.nix b/deprecation.nix index e8797215..840701c1 100644 --- a/deprecation.nix +++ b/deprecation.nix @@ -1,4 +1,14 @@ inputs: let removeBy = import ./cells/std/errors/removeBy.nix {inherit inputs;}; in { + # fluidattacks/makes integration deprecation + mkMakes = removeBy "2025-06-01" '' + std.lib.dev.mkMakes is deprecated. + + The fluidattacks/makes project has been deprecated in favor of Nix Flakes. + Please migrate your makes tasks to use native Nix derivations or other + Standard-supported alternatives. + + For more information, see: https://github.com/fluidattacks/makes + ''; } diff --git a/src/lib/dev/mkMakes.md b/src/lib/dev/mkMakes.md index 8d564444..334cb9fc 100644 --- a/src/lib/dev/mkMakes.md +++ b/src/lib/dev/mkMakes.md @@ -1,4 +1,6 @@ -### `mkMakes` +### `mkMakes` (DEPRECATED) + +> **⚠️ DEPRECATION WARNING**: This function is deprecated as of 2024 and scheduled for removal on 2025-06-01. The [`fluidattacks/makes`][makes] project has been deprecated in favor of Nix Flakes. Please migrate your makes tasks to use native Nix derivations or other Standard-supported alternatives. ... provides an interface to `makes` tasks diff --git a/src/lib/dev/mkMakes.nix b/src/lib/dev/mkMakes.nix index 3334ec84..038db8b5 100644 --- a/src/lib/dev/mkMakes.nix +++ b/src/lib/dev/mkMakes.nix @@ -2,6 +2,19 @@ let inherit (inputs.cells.std.errors) requireInput; inherit (requireInput "makes" "github:fluidattacks/makes" "std.lib.dev.mkMakes") nixpkgs makes; inherit (inputs.nixpkgs.lib) customisation fix extends; + + # Show deprecation warning + _ = builtins.trace '' + ⚠️ DEPRECATION WARNING: std.lib.dev.mkMakes is deprecated + + The fluidattacks/makes project has been deprecated in favor of Nix Flakes. + Scheduled for removal: 2025-06-01 + + Please migrate your makes tasks to use native Nix derivations or other + Standard-supported alternatives. + + For more information, see: https://github.com/fluidattacks/makes + '' null; in customisation.callPackageWith (fix ( extends (