fix nix-shell

This commit is contained in:
nek0 2018-08-18 04:38:53 +02:00
parent 2b6f13030f
commit d2b1baea6b

View file

@ -31,14 +31,8 @@ let
mkDerivation { mkDerivation {
pname = "nanovg"; pname = "nanovg";
version = "0.6.0.0"; version = "0.6.0.0";
#src = pkgs.fetchFromGitHub { sha256 = "e35a2772f2a2e71916013cab70eeb8eedd6f66b5490ddf7ce237c8c76895d496";
# owner = "nek0"; editedCabalFile = "1lhfsq50r9bdby7mfscw8ih3wsz2m19lr2a2z9b6diaf5kz76vij";
# repo = "nanovg-hs";
# rev = "21868dc2c8e6eae8e7c0962d22890a8f2522cab0";
# sha256 = "0diyyajniyxzmg5za34crwwlajf40x8bplja6mbgv2syax5d446d";
# fetchSubmodules = true;
#};
#src = ../nanovg-hs;
revision = "1"; revision = "1";
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
@ -50,8 +44,7 @@ let
homepage = "https://github.com/cocreature/nanovg-hs"; homepage = "https://github.com/cocreature/nanovg-hs";
description = "Haskell bindings for nanovg"; description = "Haskell bindings for nanovg";
license = pkgs.stdenv.lib.licenses.isc; license = pkgs.stdenv.lib.licenses.isc;
hydraPlatforms = pkgs.stdenv.lib.platforms.none; }) {};
}) { inherit (pkgs) glew; inherit (pkgs) libGL; inherit (pkgs) libGLU; inherit (pkgs) pkgconfig; };
agNek0 = with haskellPackages; callPackage ( agNek0 = with haskellPackages; callPackage (
{ mkDerivation, array, base, base-orphans, containers { mkDerivation, array, base, base-orphans, containers