diff options
author | William Carroll <wpcarro@gmail.com> | 2020-02-09T13·47+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-02-10T10·06+0000 |
commit | 64654d1d6d1f36a20e00ee6cdc3866ff009c3a0a (patch) | |
tree | 3a764c88197e704a86ef527467b49a933c9f242d /gopkgs/utils/default.nix | |
parent | ec4c8472ca8eaed9a40d5decf5f909bdda96ec62 (diff) |
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
Diffstat (limited to 'gopkgs/utils/default.nix')
-rw-r--r-- | gopkgs/utils/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gopkgs/utils/default.nix b/gopkgs/utils/default.nix new file mode 100644 index 000000000000..d92b82ca4d03 --- /dev/null +++ b/gopkgs/utils/default.nix @@ -0,0 +1,11 @@ +{ + depot ? import <depot> {}, + ... +}: + +depot.buildGo.package { + name = "utils"; + srcs = [ + ./utils.go + ]; +} |