Nix flake for Garden
This is a flake for installing Garden from its binary distribution channel.
I'm working on a more "native" installation method (tracked in this issue) and hope to submit the results in nixpkgs.
{
description = "Your flake";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
garden.url = "github:sagikazarmark/nix-garden";
};
outputs = { self, nixpkgs, flake-utils, garden, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in {
devShell = pkgs.mkShell {
buildInputs = [ garden.packages.${system}.garden ];
};
});
}
The project is licensed under the MIT License.