From a1e6d1355e8193a4d94fa9271d487c34c5556692 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sun, 24 Apr 2022 15:44:37 +0000 Subject: [PATCH] inital commit Signed-off-by: Xe Iaso --- .envrc | 1 + .gitignore | 2 ++ README.md | 8 ++++++++ flake.lock | 42 ++++++++++++++++++++++++++++++++++++++++++ flake.nix | 31 +++++++++++++++++++++++++++++++ go.mod | 3 +++ 6 files changed, 87 insertions(+) create mode 100644 .envrc create mode 100644 .gitignore create mode 100644 flake.lock create mode 100644 flake.nix create mode 100644 go.mod diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..726d2d6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +result +.direnv diff --git a/README.md b/README.md index e69de29..c013ab5 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,8 @@ +# gonads + +Do not use this package. + +Gonads is a collection of gonoids in the category of endgofunctors. +This allows you to have high-synergy productive workflows that +leverage existing creations so that you can strategically determine +the best course of action at compile time instead of at runtime. diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..ef6f6b7 --- /dev/null +++ b/flake.lock @@ -0,0 +1,42 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1648069223, + "narHash": "sha256-BXzQV8p/RR440EB9qY0ULYfTH0zSW1stjUCYeP4SF+E=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "1d08ea2bd83abef174fb43cbfb8a856b8ef2ce26", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-unstable", + "type": "indirect" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs", + "utils": "utils" + } + }, + "utils": { + "locked": { + "lastModified": 1648297722, + "narHash": "sha256-W+qlPsiZd8F3XkzXOzAoR+mpFqzm3ekQkJNa+PIh1BQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "0f8662f1319ad6abf89b3380dd2722369fc51ade", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..e8d1063 --- /dev/null +++ b/flake.nix @@ -0,0 +1,31 @@ +{ + 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 ]; + }; + }); +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..0fd8b7a --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module tulpa.dev/internal/gonads + +go 1.18