Go: Difference between revisions
It looks like it does not works anymore, I got this error : Tags: Mobile edit Mobile web edit |
Tags: Undo Mobile edit Mobile web edit |
||
| Line 64: | Line 64: | ||
If you want to build a local project with Nix, replace the `src` attribute to be the local directory, e.g.:<syntaxhighlight lang="nix"> | If you want to build a local project with Nix, replace the `src` attribute to be the local directory, e.g.:<syntaxhighlight lang="nix"> | ||
some-package = buildGoModule { | some-package = buildGoModule { | ||
src = | src = ./. | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||