Skip to content

Commit

Permalink
Create flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
foodelevator committed Aug 4, 2022
1 parent 6fe15f2 commit a7b083b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
25 changes: 25 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
description = "Go driven rpc code generation tool for right now";

outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in
{
packages.${system}.oto = pkgs.buildGoModule {
pname = "oto";
version = "0.11.1-meitner1.1";
src = self;

excludedPackages = "otohttp example";

vendorSha256 = "P15nut6Ped6O7xsopx/m0QlqV3JfkNSLg6LgrJTHAjg=";
};

defaultPackage.x86_64-linux = self.packages.x86_64-linux.oto;
};
}

0 comments on commit a7b083b

Please sign in to comment.