1
Fork 0
hare-nix/flake.nix
2024-05-14 21:06:04 +02:00

25 lines
601 B
Nix

{
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
];
};
});
};
}