Skip to content

Instantly share code, notes, and snippets.

@idontgetoutmuch
Created August 27, 2019 09:18
Show Gist options
  • Select an option

  • Save idontgetoutmuch/bd5d9be0646f55eca54b2555b1286bd8 to your computer and use it in GitHub Desktop.

Select an option

Save idontgetoutmuch/bd5d9be0646f55eca54b2555b1286bd8 to your computer and use it in GitHub Desktop.
A broken haskell package in nix
{ mkDerivation, base, bytestring, cassava, Chart, Chart-diagrams
, clock, containers, deepseq, diagrams-cairo, diagrams-lib
, diagrams-rasterific, hmatrix, hspec, inline-c, lens
, optparse-applicative, plots, split, stdenv, sundials
, template-haskell, vector
}:
mkDerivation {
pname = "hmatrix-sundials";
version = "0.20.1.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base containers deepseq hmatrix inline-c split template-haskell
vector
];
librarySystemDepends = [ sundials ];
executableHaskellDepends = [
base Chart Chart-diagrams diagrams-cairo diagrams-lib hmatrix
vector
];
testHaskellDepends = [
base containers diagrams-lib diagrams-rasterific hmatrix hspec
inline-c lens plots split template-haskell vector
];
testSystemDepends = [ sundials ];
benchmarkHaskellDepends = [
base bytestring cassava clock hmatrix optparse-applicative
];
homepage = "https://github.com/haskell-numerics/hmatrix-sundials";
description = "hmatrix interface to sundials";
license = stdenv.lib.licenses.bsd3;
}
"hmatrix-sundials" = callPackage
({ mkDerivation, base, containers, diagrams-lib
, diagrams-rasterific, hmatrix, hspec, inline-c, lens, plots
, sundials_arkode, sundials_cvode, template-haskell, vector
}:
mkDerivation {
pname = "hmatrix-sundials";
version = "0.19.1.0";
sha256 = "1vbpx8661nnj15vrg177qwaylfvlp0fxdnpzncwkm4ka81v65hb5";
revision = "1";
editedCabalFile = "0vl85crf6zpbjpvrkydi5qk7ziaxcwr3bpm15cbxw6k94a3y9lvx";
libraryHaskellDepends = [
base containers hmatrix inline-c template-haskell vector
];
librarySystemDepends = [ sundials_arkode sundials_cvode ];
testHaskellDepends = [
base containers diagrams-lib diagrams-rasterific hmatrix hspec
inline-c lens plots template-haskell vector
];
testSystemDepends = [ sundials_arkode sundials_cvode ];
description = "hmatrix interface to sundials";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {sundials_arkode = null; sundials_cvode = null;};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment