diff options
| author | Cody Mikol <hi@codymikol.com> | 2024-08-30 20:41:09 -0400 |
|---|---|---|
| committer | Cody Mikol <hi@codymikol.com> | 2024-08-30 20:41:09 -0400 |
| commit | c6127e4f2e45ca817690afcded0069ed3c2d0e70 (patch) | |
| tree | a8c55f1a713cbb26d6d2f335c03e6034c6e07191 /flake.nix | |
| parent | 6db374fdcf49bd75197aa44846445aa89936d492 (diff) | |
feat(nix): add a nix flake
nix flakes allow developers using NixOS or
the nix package manager to quickly set up a
working development environment with the correct
dependencies.
Fixes N/A
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 000000000..41a92917b --- /dev/null +++ b/flake.nix @@ -0,0 +1,17 @@ +{ + description = "YaCy -- distributed search engine"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + inputs.flake-utils.url = "github:numtide/flake-utils"; + + outputs = { self, nixpkgs, flake-utils }: + flake-utils.lib.eachDefaultSystem (system: let + pkgs = nixpkgs.legacyPackages.${system}; + in { + devShells.default = pkgs.mkShell { + packages = [ + pkgs.ant + pkgs.temurin-bin-11 + ]; + }; + }); +} |
