Content-Length: 263547 | pFad | http://github.com/tweag/rules_nixpkgs/tree/master/examples/toolchains/go

F0 rules_nixpkgs/examples/toolchains/go at master · tweag/rules_nixpkgs · GitHub
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Go Toolchain Example

This is an example Go project that uses rules_go.

If the Nix package manager is present in the build environment, this example will use Nix to provide the Go toolchain. Otherwise, it will use the toolchain provided by rules_go and not rely on Nix at all.

Usage

To run the example with Nix, issue the following command:

nix-shell --command 'bazel run --config=nix :hello'

To run the example without Nix, make sure you have Bazel installed, and issue the following command:

bazel run :hello








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/tweag/rules_nixpkgs/tree/master/examples/toolchains/go

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy