Go: Difference between revisions
Use pname and set version in example |
It looks like it does not works anymore, I got this error : Tags: 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 = builtins.path { path = "./."; }; | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||