Skip to content

Instantly share code, notes, and snippets.

@LnL7
Created July 16, 2018 22:51
Show Gist options
  • Save LnL7/d8d4ef5d5650a10371d38d18bc695265 to your computer and use it in GitHub Desktop.
Save LnL7/d8d4ef5d5650a10371d38d18bc695265 to your computer and use it in GitHub Desktop.
{ mkDerivation, aeson, ansi-wl-pprint, array, base
, base16-bytestring, binary, bytestring, containers, criterion
, cryptohash-md5, cryptohash-sha1, cryptohash-sha256
, cryptohash-sha512, data-fix, deepseq, deriving-compat, Diff
, directory, exceptions, filepath, generic-random, ghc-datasize
, Glob, hashable, hashing, haskeline, hedgehog, http-client
, http-client-tls, http-types, interpolate, lens-family
, lens-family-core, lens-family-th, logict, megaparsec, monadlist
, mtl, optparse-applicative, pretty-show, process, regex-tdfa
, regex-tdfa-text, repline, scientific, semigroups, serialise
, split, stdenv, syb, tasty, tasty-hedgehog, tasty-hunit
, tasty-quickcheck, tasty-th, template-haskell, text, these, time
, transformers, unix, unordered-containers, vector, xml
}:
mkDerivation {
pname = "hnix";
version = "0.5.1";
src = /nix/store/b773b94v89p9v4h499hwlrcjpfdfnszg-hnix;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson ansi-wl-pprint array base base16-bytestring binary bytestring
containers cryptohash-md5 cryptohash-sha1 cryptohash-sha256
cryptohash-sha512 data-fix deepseq deriving-compat directory
exceptions filepath ghc-datasize hashable hashing haskeline
http-client http-client-tls http-types interpolate lens-family
lens-family-core lens-family-th logict megaparsec monadlist mtl
optparse-applicative pretty-show process regex-tdfa regex-tdfa-text
scientific semigroups serialise split syb template-haskell text
these time transformers unix unordered-containers vector xml
];
executableHaskellDepends = [
aeson ansi-wl-pprint base base16-bytestring bytestring containers
cryptohash-md5 cryptohash-sha1 cryptohash-sha256 cryptohash-sha512
data-fix deepseq exceptions filepath hashing haskeline mtl
optparse-applicative pretty-show repline serialise template-haskell
text time transformers unordered-containers
];
testHaskellDepends = [
ansi-wl-pprint base base16-bytestring bytestring containers
cryptohash-md5 cryptohash-sha1 cryptohash-sha256 cryptohash-sha512
data-fix deepseq Diff directory exceptions filepath generic-random
Glob hashing hedgehog interpolate megaparsec mtl
optparse-applicative pretty-show process serialise split tasty
tasty-hedgehog tasty-hunit tasty-quickcheck tasty-th
template-haskell text time transformers unix unordered-containers
];
benchmarkHaskellDepends = [
ansi-wl-pprint base base16-bytestring bytestring containers
criterion cryptohash-md5 cryptohash-sha1 cryptohash-sha256
cryptohash-sha512 data-fix deepseq exceptions filepath hashing mtl
optparse-applicative serialise template-haskell text time
transformers unordered-containers
];
homepage = "https://github.com/haskell-nix/hnix#readme";
description = "Haskell implementation of the Nix language";
license = stdenv.lib.licenses.bsd3;
}
nix-instantiate --option allow-import-from-derivation false
# error: attempted to realize '/nix/store/jkzzzr4aa3aflinj2xzm7jils3mgvmn9-cabal2nix-hnix.drv!out' during evaluation bu
nix-store -r /nix/store/jkzzzr4aa3aflinj2xzm7jils3mgvmn9-cabal2nix-hnix.drv
# /nix/store/lhcadfpwy85cn9a88hsrjs6psxp78x1v-cabal2nix-hnix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment