Every Nix derivation produces a Nix store output that has 3 things:
- Executables
- Libraries
- Data
Executables are always exported using the PATH environment variable. This is pretty much automatic.
Notes taken from Rob Pike's presentation 'Google I/O 2012 - Go Concurrency Patterns'.
The code is as follows:
c := boring("boring!") // function returning a channel
for i := 0; i < 5; i++ {| // ==UserScript== | |
| // @name Extract an email's RFC822 msgId Link from GMail | |
| // @namespace https://gist.github.com/r-k-b/ | |
| // @version 1.0.0 | |
| // @description Get an email's RFC822 msgId Link from GMail | |
| // @author Robert K. Bell | |
| // @homepage https://gist.github.com/r-k-b/911eff689044d30561eab19bb30d09bd | |
| // @downloadURL https://gist.github.com/r-k-b/911eff689044d30561eab19bb30d09bd/raw/extract-rfc822-link-from-gmail.user.js | |
| // @include *://*/* | |
| // @grant none |
| import actors.Actor | |
| import actors.Actor._ | |
| object RingTopologySimulation extends Application { | |
| case class Message(count: Int) | |
| class Node(id: Int, stops: Int) extends Actor { | |
| var next: Node = null |