flokli / nix-casync

A more efficient way to store and substitute Nix store paths
80 stars 4 forks source link

nix-casync flake #20

Closed bbigras closed 2 years ago

flokli commented 2 years ago

I don't understand what this is about. Can you provide a proper description?

bbigras commented 2 years ago

Add a flake.nix file to this repo with buildGoModule or something, so I can use it as a flake in my nix-config.

flokli commented 2 years ago

I'm not using flakes by myself, so I can't support this.

Also, right now the only thing you need to build this is a go compiler - you don't really need any Nix to build this (as can be seen in the Github Action definition.

I might add a default.nix, if the build phase gets more complicated, but as of now, you should be able to just use buildGoModule from inside your nix-config, passing in the src and vendorSha256, like any other go package that's packaged in nixpkgs.