use niv vgo2nix

This commit is contained in:
Cadey Ratio 2020-02-08 21:02:25 +00:00
parent ae03b16934
commit 12aaee870b
2 changed files with 2 additions and 13 deletions

View File

@ -1,16 +1,4 @@
{
"niv": {
"branch": "master",
"description": "Easy dependency management for Nix projects",
"homepage": "https://github.com/nmattia/niv",
"owner": "nmattia",
"repo": "niv",
"rev": "2ecfd86b631714b457e56d70dd83fa60435baeb6",
"sha256": "01j6727cws8blg1npp54b4w6xa0gpgyzhyws2vqgp8clnlnmqqhi",
"type": "tarball",
"url": "https://github.com/nmattia/niv/archive/2ecfd86b631714b457e56d70dd83fa60435baeb6.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"vgo2nix": {
"branch": "master",
"description": null,

View File

@ -1,4 +1,5 @@
let
pkgs = import <nixpkgs> { };
sources = import ./nix/sources.nix;
in pkgs.mkShell { buildInputs = [ pkgs.go sources.vgo2nix sources.niv ]; }
vgo2nix = (import sources.vgo2nix { });
in pkgs.mkShell { buildInputs = [ pkgs.go pkgs.niv vgo2nix ]; }