Files
yacy_search_server/flake.nix
Charlie Root 6bec159f60 flake: drop flake-utils as a dependency
Replace flake-utils with a few lines of pure nix code, since flake-utils
is not really useful here.
2025-02-22 12:14:49 +01:00

20 lines
560 B
Nix

{
description = "YaCy -- distributed search engine";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs = inputs: let
systems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
forEachSystem = inputs.nixpkgs.lib.genAttrs systems;
pkgsForEach = inputs.nixpkgs.legacyPackages;
in {
devShells = forEachSystem (system: {
default = pkgsForEach.${system}.mkShell {
packages = with pkgsForEach.${system}; [
pkgs.ant
pkgs.temurin-bin-11
];
};
});
};
}