Create gopkgs directory for golang libs
- Created a gopkgs directory and registered it with default.nix's readTree - Moved monzo_ynab/utils -> gopkgs - Consumed utils.go in main.go - Renamed monzo_ynab -> job
This commit is contained in:
parent
ec4c8472ca
commit
64654d1d6d
6 changed files with 43 additions and 21 deletions
11
gopkgs/utils/default.nix
Normal file
11
gopkgs/utils/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
depot ? import <depot> {},
|
||||
...
|
||||
}:
|
||||
|
||||
depot.buildGo.package {
|
||||
name = "utils";
|
||||
srcs = [
|
||||
./utils.go
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue