1
Fork 0
hare-nix/flake.nix

25 lines
601 B
Nix
Raw Normal View History

2024-05-14 19:02:43 +00:00
{
description = "Hare for mac";
outputs = { self, nixpkgs, ... }:
let
supportedSystems = [ "x86_64-darwin" "aarch64-darwin" ];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
in
{
devShells = forAllSystems (system:
let
pkgs = nixpkgs.legacyPackages.${system};
harec = pkgs.callPackage ./pkgs/harec.nix { };
#hare = pkgs.callPackage ./pkgs/hare.nix { inherit harec; };
in
{
default = pkgs.mkShell {
buildInputs = [
harec
];
};
});
};
}