Go: Difference between revisions

N42 (talk | contribs)
It looks like it does not works anymore, I got this error :
Tags: Mobile edit Mobile web edit
N42 (talk | contribs)
m Undo revision 18269 by N42 (talk)
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 = builtins.path { path = "./."; };
     src = ./.
   };
   };
</syntaxhighlight>
</syntaxhighlight>