25 lines
601 B
Nix
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
|
||
|
];
|
||
|
};
|
||
|
});
|
||
|
};
|
||
|
}
|