From 12aaee870bac9f3f6ce805104c89778aae523747 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 8 Feb 2020 21:02:25 +0000 Subject: [PATCH] use niv vgo2nix --- nix/sources.json | 12 ------------ shell.nix | 3 ++- 2 files changed, 2 insertions(+), 13 deletions(-) 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 ]; }