32 lines
727 B
Nix
32 lines
727 B
Nix
|
{
|
||
|
description = "Gonoids in the category of endgofunctors";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||
|
utils.url = "github:numtide/flake-utils";
|
||
|
};
|
||
|
|
||
|
outputs = { self, nixpkgs, utils }:
|
||
|
utils.lib.eachSystem [
|
||
|
"x86_64-linux"
|
||
|
"aarch64-linux"
|
||
|
"x86_64-darwin"
|
||
|
"aarch64-darwin"
|
||
|
] (system:
|
||
|
let
|
||
|
pkgs = import nixpkgs {
|
||
|
inherit system;
|
||
|
overlays = [
|
||
|
(final: prev: {
|
||
|
go = prev.go_1_18;
|
||
|
buildGoModule = prev.buildGo118Module;
|
||
|
})
|
||
|
];
|
||
|
};
|
||
|
in {
|
||
|
devShells.default = pkgs.mkShell {
|
||
|
buildInputs = with pkgs; [ go gopls gotools go-tools ];
|
||
|
};
|
||
|
});
|
||
|
}
|