diff --git a/nix/sources.json b/nix/sources.json index 774a4ad..8565fcc 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -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///archive/.tar.gz" - }, "vgo2nix": { "branch": "master", "description": null, diff --git a/shell.nix b/shell.nix index 3958517..488764f 100644 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,5 @@ let pkgs = import { }; 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 ]; }