From bfb86d1a300aa7618838326f04e09ba16779db33 Mon Sep 17 00:00:00 2001 From: nek0 Date: Wed, 28 Mar 2018 00:21:10 +0200 Subject: [PATCH] assume sources on local disc --- shell.nix | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/shell.nix b/shell.nix index f29725d..91e20db 100644 --- a/shell.nix +++ b/shell.nix @@ -13,13 +13,14 @@ let mkDerivation { pname = "nanovg"; version = "0.5.2.0"; - src = pkgs.fetchFromGitHub { - owner = "nek0"; - repo = "nanovg-hs"; - rev = "21868dc2c8e6eae8e7c0962d22890a8f2522cab0"; - sha256 = "0diyyajniyxzmg5za34crwwlajf40x8bplja6mbgv2syax5d446d"; - fetchSubmodules = true; - }; + #src = pkgs.fetchFromGitHub { + # owner = "nek0"; + # repo = "nanovg-hs"; + # rev = "21868dc2c8e6eae8e7c0962d22890a8f2522cab0"; + # sha256 = "0diyyajniyxzmg5za34crwwlajf40x8bplja6mbgv2syax5d446d"; + # fetchSubmodules = true; + #}; + src = ../nanovg-hs; revision = "1"; isLibrary = true; isExecutable = true; @@ -40,12 +41,13 @@ let mkDerivation { pname = "affection"; version = "0.0.0.9"; - src = pkgs.fetchFromGitHub { - owner = "nek0"; - repo = "affection"; - rev = "33c99b8888328e4ed17f5c65ac49f5eab2645549"; - sha256 = "0psqxqj1a8l5fia49ay2pb72kjnw5i54m6dcmrpz5hi1654aznll"; - }; + #src = pkgs.fetchFromGitHub { + # owner = "nek0"; + # repo = "affection"; + # rev = "33c99b8888328e4ed17f5c65ac49f5eab2645549"; + # sha256 = "0psqxqj1a8l5fia49ay2pb72kjnw5i54m6dcmrpz5hi1654aznll"; + #}; + src = ../affection; revision = "1"; isLibrary = true; libraryHaskellDepends = [