mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-07-10 07:16:08 -04:00
Replace flake-utils with a few lines of pure nix code, since flake-utils is not really useful here.
20 lines
560 B
Nix
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
|
|
];
|
|
};
|
|
});
|
|
};
|
|
}
|