fix derivation

This commit is contained in:
nek0 2018-08-03 02:18:19 +02:00
parent 5e8df5a022
commit a3a0538c35

View file

@ -4,6 +4,27 @@ let
inherit (nixpkgs) pkgs;
sdl2Nek0 = with haskellPackages; callPackage (
{ mkDerivation, base, bytestring, exceptions, linear, SDL2
, StateVar, stdenv, text, transformers, vector
}:
mkDerivation {
pname = "sdl2";
version = "2.4.0.1";
sha256 = "9a898d0acd6d7a4f341b3127d2c44e64b577e1128bc0b4d93a17ac510cb5644d";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base bytestring exceptions linear StateVar text transformers vector
];
doCheck = false;
librarySystemDepends = [ SDL2 ];
libraryPkgconfigDepends = [ SDL2 ];
description = "Both high- and low-level bindings to the SDL library (version 2.0.4+).";
license = stdenv.lib.licenses.bsd3;
}) {};
nanovgNeko = with haskellPackages; callPackage ({
mkDerivation, base, bytestring, c2hs, containers, glew, hspec,
inline-c, libGL, libGLU, QuickCheck, text, vector, pkgconfig }:
@ -68,7 +89,7 @@ let
affectionNeko = with haskellPackages; callPackage ({ mkDerivation
, base, bytestring, clock, containers, glib, linear, monad-loops, monad-parallel
, mtl, OpenGL, sdl2, stdenv, stm, text, uuid, vector }:
, mtl, OpenGL, stdenv, stm, text, uuid, vector }:
mkDerivation {
pname = "affection";
version = "0.0.0.9";
@ -84,7 +105,7 @@ let
isLibrary = true;
libraryHaskellDepends = [
base bytestring clock containers glib linear monad-loops
monad-parallel mtl OpenGL sdl2 stm text uuid vector
monad-parallel mtl OpenGL sdl2Nek0 stm text uuid vector
];
librarySystemDepends = [ ];
libraryToolDepends = [ ];
@ -112,7 +133,7 @@ let
}) {};
f = { mkDerivation, astar, base, containers, linear
, matrix, OpenGL, random, sdl2, stdenv, stm, text, unordered-containers
, matrix, OpenGL, random, stdenv, stm, text, unordered-containers
, vector, JuicyPixels, JuicyPixels-extra, bytestring
}:
mkDerivation {
@ -124,7 +145,7 @@ let
enableExecutableProfiling = true;
executableHaskellDepends = [
affectionNeko astar base containers ecstasyNeko linear matrix nanovgNeko
OpenGL random sdl2 stm text unordered-containers vector JuicyPixels
OpenGL random sdl2Nek0 stm text unordered-containers vector JuicyPixels
JuicyPixels-extra bytestring agNek0
];
license = stdenv.lib.licenses.gpl3;