2018-09-16 02:04:54 +02:00
|
|
|
-- This file has been generated from package.yaml by hpack version 0.28.2.
|
2018-04-08 00:08:48 +02:00
|
|
|
--
|
|
|
|
-- see: https://github.com/sol/hpack
|
|
|
|
--
|
2018-09-16 02:04:54 +02:00
|
|
|
-- hash: cf3720314c18393c8e86154180e3f986a610f3fab8cf0e7de5ea10aaf8c3bbb6
|
2014-07-01 05:37:20 +02:00
|
|
|
|
2018-09-16 02:04:54 +02:00
|
|
|
cabal-version: >= 1.10
|
2018-04-08 00:08:48 +02:00
|
|
|
name: hnix
|
2018-07-20 00:15:25 +02:00
|
|
|
version: 0.5.2
|
2018-04-08 00:08:48 +02:00
|
|
|
synopsis: Haskell implementation of the Nix language
|
|
|
|
description: Haskell implementation of the Nix language.
|
|
|
|
category: System, Data, Nix
|
2018-05-10 22:57:53 +02:00
|
|
|
homepage: https://github.com/haskell-nix/hnix#readme
|
|
|
|
bug-reports: https://github.com/haskell-nix/hnix/issues
|
2018-04-08 00:08:48 +02:00
|
|
|
author: John Wiegley
|
|
|
|
maintainer: johnw@newartisans.com
|
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
|
|
|
build-type: Simple
|
|
|
|
extra-source-files:
|
2018-05-09 19:59:08 +02:00
|
|
|
data/let-comments-multiline.nix
|
|
|
|
data/let-comments.nix
|
|
|
|
data/let.nix
|
2018-05-09 19:41:09 +02:00
|
|
|
data/nix/bootstrap.sh
|
|
|
|
data/nix/config/config.guess
|
|
|
|
data/nix/config/config.sub
|
|
|
|
data/nix/config/install-sh
|
|
|
|
data/nix/configure.ac
|
|
|
|
data/nix/COPYING
|
|
|
|
data/nix/corepkgs/buildenv.nix
|
|
|
|
data/nix/corepkgs/config.nix.in
|
|
|
|
data/nix/corepkgs/derivation.nix
|
|
|
|
data/nix/corepkgs/fetchurl.nix
|
|
|
|
data/nix/corepkgs/imported-drv-to-derivation.nix
|
|
|
|
data/nix/corepkgs/local.mk
|
|
|
|
data/nix/corepkgs/unpack-channel.nix
|
|
|
|
data/nix/local.mk
|
|
|
|
data/nix/maintainers/upload-release.pl
|
|
|
|
data/nix/Makefile
|
|
|
|
data/nix/Makefile.config.in
|
|
|
|
data/nix/mk/clean.mk
|
|
|
|
data/nix/mk/dist.mk
|
|
|
|
data/nix/mk/functions.mk
|
|
|
|
data/nix/mk/install.mk
|
|
|
|
data/nix/mk/jars.mk
|
|
|
|
data/nix/mk/lib.mk
|
|
|
|
data/nix/mk/libraries.mk
|
|
|
|
data/nix/mk/patterns.mk
|
|
|
|
data/nix/mk/programs.mk
|
|
|
|
data/nix/mk/README.md
|
|
|
|
data/nix/mk/templates.mk
|
|
|
|
data/nix/mk/tests.mk
|
|
|
|
data/nix/mk/tracing.mk
|
|
|
|
data/nix/nix.spec.in
|
|
|
|
data/nix/perl/configure.ac
|
|
|
|
data/nix/perl/lib/Nix/Config.pm.in
|
|
|
|
data/nix/perl/lib/Nix/CopyClosure.pm
|
|
|
|
data/nix/perl/lib/Nix/Manifest.pm
|
|
|
|
data/nix/perl/lib/Nix/SSH.pm
|
|
|
|
data/nix/perl/lib/Nix/Store.pm
|
|
|
|
data/nix/perl/lib/Nix/Store.xs
|
|
|
|
data/nix/perl/lib/Nix/Utils.pm
|
|
|
|
data/nix/perl/local.mk
|
|
|
|
data/nix/perl/Makefile
|
|
|
|
data/nix/perl/Makefile.config.in
|
|
|
|
data/nix/perl/MANIFEST
|
|
|
|
data/nix/README.md
|
|
|
|
data/nix/release-common.nix
|
|
|
|
data/nix/release.nix
|
|
|
|
data/nix/scripts/install-darwin-multi-user.sh
|
|
|
|
data/nix/scripts/install-multi-user.sh
|
|
|
|
data/nix/scripts/install-nix-from-closure.sh
|
|
|
|
data/nix/scripts/install-systemd-multi-user.sh
|
|
|
|
data/nix/scripts/local.mk
|
|
|
|
data/nix/scripts/nix-http-export.cgi.in
|
|
|
|
data/nix/scripts/nix-profile-daemon.sh.in
|
|
|
|
data/nix/scripts/nix-profile.sh.in
|
|
|
|
data/nix/scripts/nix-reduce-build.in
|
|
|
|
data/nix/shell.nix
|
|
|
|
data/nix/tests/add.sh
|
|
|
|
data/nix/tests/binary-cache.sh
|
|
|
|
data/nix/tests/brotli.sh
|
|
|
|
data/nix/tests/build-dry.sh
|
|
|
|
data/nix/tests/build-hook.nix
|
|
|
|
data/nix/tests/build-remote.sh
|
|
|
|
data/nix/tests/case-hack.sh
|
|
|
|
data/nix/tests/case.nar
|
|
|
|
data/nix/tests/check-refs.nix
|
|
|
|
data/nix/tests/check-refs.sh
|
|
|
|
data/nix/tests/check-reqs.nix
|
|
|
|
data/nix/tests/check-reqs.sh
|
|
|
|
data/nix/tests/check.nix
|
|
|
|
data/nix/tests/check.sh
|
|
|
|
data/nix/tests/common.sh.in
|
|
|
|
data/nix/tests/config.nix
|
|
|
|
data/nix/tests/dependencies.builder0.sh
|
|
|
|
data/nix/tests/dependencies.builder1.sh
|
|
|
|
data/nix/tests/dependencies.builder2.sh
|
|
|
|
data/nix/tests/dependencies.nix
|
|
|
|
data/nix/tests/dependencies.sh
|
|
|
|
data/nix/tests/dump-db.sh
|
|
|
|
data/nix/tests/export-graph.nix
|
|
|
|
data/nix/tests/export-graph.sh
|
|
|
|
data/nix/tests/export.sh
|
|
|
|
data/nix/tests/fetchGit.sh
|
|
|
|
data/nix/tests/fetchMercurial.sh
|
|
|
|
data/nix/tests/fetchurl.sh
|
|
|
|
data/nix/tests/filter-source.nix
|
|
|
|
data/nix/tests/filter-source.sh
|
|
|
|
data/nix/tests/fixed.builder1.sh
|
|
|
|
data/nix/tests/fixed.builder2.sh
|
|
|
|
data/nix/tests/fixed.nix
|
|
|
|
data/nix/tests/fixed.sh
|
|
|
|
data/nix/tests/gc-concurrent.builder.sh
|
|
|
|
data/nix/tests/gc-concurrent.nix
|
|
|
|
data/nix/tests/gc-concurrent.sh
|
|
|
|
data/nix/tests/gc-concurrent2.builder.sh
|
|
|
|
data/nix/tests/gc-runtime.nix
|
|
|
|
data/nix/tests/gc-runtime.sh
|
|
|
|
data/nix/tests/gc.sh
|
|
|
|
data/nix/tests/hash-check.nix
|
|
|
|
data/nix/tests/hash.sh
|
|
|
|
data/nix/tests/import-derivation.nix
|
|
|
|
data/nix/tests/import-derivation.sh
|
|
|
|
data/nix/tests/init.sh
|
|
|
|
data/nix/tests/install-darwin.sh
|
|
|
|
data/nix/tests/lang.sh
|
|
|
|
data/nix/tests/lang/data
|
|
|
|
data/nix/tests/lang/dir1/a.nix
|
|
|
|
data/nix/tests/lang/dir2/a.nix
|
|
|
|
data/nix/tests/lang/dir2/b.nix
|
|
|
|
data/nix/tests/lang/dir3/a.nix
|
|
|
|
data/nix/tests/lang/dir3/b.nix
|
|
|
|
data/nix/tests/lang/dir3/c.nix
|
|
|
|
data/nix/tests/lang/dir4/a.nix
|
|
|
|
data/nix/tests/lang/dir4/c.nix
|
|
|
|
data/nix/tests/lang/eval-fail-abort.nix
|
|
|
|
data/nix/tests/lang/eval-fail-antiquoted-path.nix
|
|
|
|
data/nix/tests/lang/eval-fail-assert.nix
|
|
|
|
data/nix/tests/lang/eval-fail-bad-antiquote-1.nix
|
|
|
|
data/nix/tests/lang/eval-fail-bad-antiquote-2.nix
|
|
|
|
data/nix/tests/lang/eval-fail-bad-antiquote-3.nix
|
|
|
|
data/nix/tests/lang/eval-fail-blackhole.nix
|
|
|
|
data/nix/tests/lang/eval-fail-deepseq.nix
|
|
|
|
data/nix/tests/lang/eval-fail-missing-arg.nix
|
|
|
|
data/nix/tests/lang/eval-fail-path-slash.nix
|
|
|
|
data/nix/tests/lang/eval-fail-remove.nix
|
|
|
|
data/nix/tests/lang/eval-fail-scope-5.nix
|
|
|
|
data/nix/tests/lang/eval-fail-seq.nix
|
|
|
|
data/nix/tests/lang/eval-fail-substring.nix
|
|
|
|
data/nix/tests/lang/eval-fail-to-path.nix
|
|
|
|
data/nix/tests/lang/eval-fail-undeclared-arg.nix
|
|
|
|
data/nix/tests/lang/eval-okay-any-all.exp
|
|
|
|
data/nix/tests/lang/eval-okay-any-all.nix
|
|
|
|
data/nix/tests/lang/eval-okay-arithmetic.exp
|
|
|
|
data/nix/tests/lang/eval-okay-arithmetic.nix
|
|
|
|
data/nix/tests/lang/eval-okay-attrnames.exp
|
|
|
|
data/nix/tests/lang/eval-okay-attrnames.nix
|
|
|
|
data/nix/tests/lang/eval-okay-attrs.exp
|
|
|
|
data/nix/tests/lang/eval-okay-attrs.nix
|
|
|
|
data/nix/tests/lang/eval-okay-attrs2.exp
|
|
|
|
data/nix/tests/lang/eval-okay-attrs2.nix
|
|
|
|
data/nix/tests/lang/eval-okay-attrs3.exp
|
|
|
|
data/nix/tests/lang/eval-okay-attrs3.nix
|
|
|
|
data/nix/tests/lang/eval-okay-attrs4.exp
|
|
|
|
data/nix/tests/lang/eval-okay-attrs4.nix
|
|
|
|
data/nix/tests/lang/eval-okay-attrs5.exp
|
|
|
|
data/nix/tests/lang/eval-okay-attrs5.nix
|
|
|
|
data/nix/tests/lang/eval-okay-autoargs.exp
|
|
|
|
data/nix/tests/lang/eval-okay-autoargs.flags
|
|
|
|
data/nix/tests/lang/eval-okay-autoargs.nix
|
|
|
|
data/nix/tests/lang/eval-okay-backslash-newline-1.exp
|
|
|
|
data/nix/tests/lang/eval-okay-backslash-newline-1.nix
|
|
|
|
data/nix/tests/lang/eval-okay-backslash-newline-2.exp
|
|
|
|
data/nix/tests/lang/eval-okay-backslash-newline-2.nix
|
|
|
|
data/nix/tests/lang/eval-okay-builtins-add.exp
|
|
|
|
data/nix/tests/lang/eval-okay-builtins-add.nix
|
|
|
|
data/nix/tests/lang/eval-okay-builtins.exp
|
|
|
|
data/nix/tests/lang/eval-okay-builtins.nix
|
|
|
|
data/nix/tests/lang/eval-okay-callable-attrs.exp
|
|
|
|
data/nix/tests/lang/eval-okay-callable-attrs.nix
|
|
|
|
data/nix/tests/lang/eval-okay-catattrs.exp
|
|
|
|
data/nix/tests/lang/eval-okay-catattrs.nix
|
|
|
|
data/nix/tests/lang/eval-okay-closure.exp.xml
|
|
|
|
data/nix/tests/lang/eval-okay-closure.nix
|
|
|
|
data/nix/tests/lang/eval-okay-comments.exp
|
|
|
|
data/nix/tests/lang/eval-okay-comments.nix
|
|
|
|
data/nix/tests/lang/eval-okay-concat.exp
|
|
|
|
data/nix/tests/lang/eval-okay-concat.nix
|
|
|
|
data/nix/tests/lang/eval-okay-concatstringssep.exp
|
|
|
|
data/nix/tests/lang/eval-okay-concatstringssep.nix
|
|
|
|
data/nix/tests/lang/eval-okay-context.exp
|
|
|
|
data/nix/tests/lang/eval-okay-context.nix
|
|
|
|
data/nix/tests/lang/eval-okay-curpos.exp
|
|
|
|
data/nix/tests/lang/eval-okay-curpos.nix
|
|
|
|
data/nix/tests/lang/eval-okay-deepseq.exp
|
|
|
|
data/nix/tests/lang/eval-okay-deepseq.nix
|
|
|
|
data/nix/tests/lang/eval-okay-delayed-with-inherit.exp
|
|
|
|
data/nix/tests/lang/eval-okay-delayed-with-inherit.nix
|
|
|
|
data/nix/tests/lang/eval-okay-delayed-with.exp
|
|
|
|
data/nix/tests/lang/eval-okay-delayed-with.nix
|
|
|
|
data/nix/tests/lang/eval-okay-dynamic-attrs-2.exp
|
|
|
|
data/nix/tests/lang/eval-okay-dynamic-attrs-2.nix
|
|
|
|
data/nix/tests/lang/eval-okay-dynamic-attrs-bare.exp
|
|
|
|
data/nix/tests/lang/eval-okay-dynamic-attrs-bare.nix
|
|
|
|
data/nix/tests/lang/eval-okay-dynamic-attrs.exp
|
|
|
|
data/nix/tests/lang/eval-okay-dynamic-attrs.nix
|
|
|
|
data/nix/tests/lang/eval-okay-elem.exp
|
|
|
|
data/nix/tests/lang/eval-okay-elem.nix
|
|
|
|
data/nix/tests/lang/eval-okay-empty-args.exp
|
|
|
|
data/nix/tests/lang/eval-okay-empty-args.nix
|
|
|
|
data/nix/tests/lang/eval-okay-eq-derivations.exp
|
|
|
|
data/nix/tests/lang/eval-okay-eq-derivations.nix
|
|
|
|
data/nix/tests/lang/eval-okay-eq.exp.disabled
|
|
|
|
data/nix/tests/lang/eval-okay-eq.nix
|
|
|
|
data/nix/tests/lang/eval-okay-filter.exp
|
|
|
|
data/nix/tests/lang/eval-okay-filter.nix
|
|
|
|
data/nix/tests/lang/eval-okay-flatten.exp
|
|
|
|
data/nix/tests/lang/eval-okay-flatten.nix
|
|
|
|
data/nix/tests/lang/eval-okay-fromjson.exp
|
|
|
|
data/nix/tests/lang/eval-okay-fromjson.nix
|
|
|
|
data/nix/tests/lang/eval-okay-functionargs.exp.xml
|
|
|
|
data/nix/tests/lang/eval-okay-functionargs.nix
|
|
|
|
data/nix/tests/lang/eval-okay-getattrpos-undefined.exp
|
|
|
|
data/nix/tests/lang/eval-okay-getattrpos-undefined.nix
|
|
|
|
data/nix/tests/lang/eval-okay-getattrpos.exp
|
|
|
|
data/nix/tests/lang/eval-okay-getattrpos.nix
|
|
|
|
data/nix/tests/lang/eval-okay-getenv.exp
|
|
|
|
data/nix/tests/lang/eval-okay-getenv.nix
|
|
|
|
data/nix/tests/lang/eval-okay-hash.exp
|
|
|
|
data/nix/tests/lang/eval-okay-hash.nix
|
|
|
|
data/nix/tests/lang/eval-okay-if.exp
|
|
|
|
data/nix/tests/lang/eval-okay-if.nix
|
|
|
|
data/nix/tests/lang/eval-okay-import.exp
|
|
|
|
data/nix/tests/lang/eval-okay-import.nix
|
|
|
|
data/nix/tests/lang/eval-okay-ind-string.exp
|
|
|
|
data/nix/tests/lang/eval-okay-ind-string.nix
|
|
|
|
data/nix/tests/lang/eval-okay-let.exp
|
|
|
|
data/nix/tests/lang/eval-okay-let.nix
|
|
|
|
data/nix/tests/lang/eval-okay-list.exp
|
|
|
|
data/nix/tests/lang/eval-okay-list.nix
|
|
|
|
data/nix/tests/lang/eval-okay-listtoattrs.exp
|
|
|
|
data/nix/tests/lang/eval-okay-listtoattrs.nix
|
|
|
|
data/nix/tests/lang/eval-okay-logic.exp
|
|
|
|
data/nix/tests/lang/eval-okay-logic.nix
|
|
|
|
data/nix/tests/lang/eval-okay-map.exp
|
|
|
|
data/nix/tests/lang/eval-okay-map.nix
|
|
|
|
data/nix/tests/lang/eval-okay-nested-with.exp
|
|
|
|
data/nix/tests/lang/eval-okay-nested-with.nix
|
|
|
|
data/nix/tests/lang/eval-okay-new-let.exp
|
|
|
|
data/nix/tests/lang/eval-okay-new-let.nix
|
|
|
|
data/nix/tests/lang/eval-okay-null-dynamic-attrs.exp
|
|
|
|
data/nix/tests/lang/eval-okay-null-dynamic-attrs.nix
|
|
|
|
data/nix/tests/lang/eval-okay-overrides.exp
|
|
|
|
data/nix/tests/lang/eval-okay-overrides.nix
|
|
|
|
data/nix/tests/lang/eval-okay-partition.exp
|
|
|
|
data/nix/tests/lang/eval-okay-partition.nix
|
|
|
|
data/nix/tests/lang/eval-okay-path.nix
|
|
|
|
data/nix/tests/lang/eval-okay-pathexists.exp
|
|
|
|
data/nix/tests/lang/eval-okay-pathexists.nix
|
|
|
|
data/nix/tests/lang/eval-okay-patterns.exp
|
|
|
|
data/nix/tests/lang/eval-okay-patterns.nix
|
|
|
|
data/nix/tests/lang/eval-okay-readDir.exp
|
|
|
|
data/nix/tests/lang/eval-okay-readDir.nix
|
|
|
|
data/nix/tests/lang/eval-okay-readfile.exp
|
|
|
|
data/nix/tests/lang/eval-okay-readfile.nix
|
|
|
|
data/nix/tests/lang/eval-okay-redefine-builtin.exp
|
|
|
|
data/nix/tests/lang/eval-okay-redefine-builtin.nix
|
|
|
|
data/nix/tests/lang/eval-okay-regex-match.exp
|
|
|
|
data/nix/tests/lang/eval-okay-regex-match.nix
|
|
|
|
data/nix/tests/lang/eval-okay-regex-split.exp
|
|
|
|
data/nix/tests/lang/eval-okay-regex-split.nix
|
|
|
|
data/nix/tests/lang/eval-okay-remove.exp
|
|
|
|
data/nix/tests/lang/eval-okay-remove.nix
|
|
|
|
data/nix/tests/lang/eval-okay-replacestrings.exp
|
|
|
|
data/nix/tests/lang/eval-okay-replacestrings.nix
|
|
|
|
data/nix/tests/lang/eval-okay-scope-1.exp
|
|
|
|
data/nix/tests/lang/eval-okay-scope-1.nix
|
|
|
|
data/nix/tests/lang/eval-okay-scope-2.exp
|
|
|
|
data/nix/tests/lang/eval-okay-scope-2.nix
|
|
|
|
data/nix/tests/lang/eval-okay-scope-3.exp
|
|
|
|
data/nix/tests/lang/eval-okay-scope-3.nix
|
|
|
|
data/nix/tests/lang/eval-okay-scope-4.exp
|
|
|
|
data/nix/tests/lang/eval-okay-scope-4.nix
|
|
|
|
data/nix/tests/lang/eval-okay-scope-6.exp
|
|
|
|
data/nix/tests/lang/eval-okay-scope-6.nix
|
|
|
|
data/nix/tests/lang/eval-okay-scope-7.exp
|
|
|
|
data/nix/tests/lang/eval-okay-scope-7.nix
|
|
|
|
data/nix/tests/lang/eval-okay-search-path.exp
|
|
|
|
data/nix/tests/lang/eval-okay-search-path.flags
|
|
|
|
data/nix/tests/lang/eval-okay-search-path.nix
|
|
|
|
data/nix/tests/lang/eval-okay-seq.exp
|
|
|
|
data/nix/tests/lang/eval-okay-seq.nix
|
|
|
|
data/nix/tests/lang/eval-okay-sort.exp
|
|
|
|
data/nix/tests/lang/eval-okay-sort.nix
|
|
|
|
data/nix/tests/lang/eval-okay-splitversion.exp
|
|
|
|
data/nix/tests/lang/eval-okay-splitversion.nix
|
|
|
|
data/nix/tests/lang/eval-okay-string.exp
|
|
|
|
data/nix/tests/lang/eval-okay-string.nix
|
|
|
|
data/nix/tests/lang/eval-okay-strings-as-attrs-names.exp
|
|
|
|
data/nix/tests/lang/eval-okay-strings-as-attrs-names.nix
|
|
|
|
data/nix/tests/lang/eval-okay-substring.exp
|
|
|
|
data/nix/tests/lang/eval-okay-substring.nix
|
|
|
|
data/nix/tests/lang/eval-okay-tail-call-1.exp-disabled
|
|
|
|
data/nix/tests/lang/eval-okay-tail-call-1.nix
|
|
|
|
data/nix/tests/lang/eval-okay-tojson.exp
|
|
|
|
data/nix/tests/lang/eval-okay-tojson.nix
|
|
|
|
data/nix/tests/lang/eval-okay-toxml.exp
|
|
|
|
data/nix/tests/lang/eval-okay-toxml.nix
|
|
|
|
data/nix/tests/lang/eval-okay-toxml2.exp
|
|
|
|
data/nix/tests/lang/eval-okay-toxml2.nix
|
|
|
|
data/nix/tests/lang/eval-okay-tryeval.exp
|
|
|
|
data/nix/tests/lang/eval-okay-tryeval.nix
|
|
|
|
data/nix/tests/lang/eval-okay-types.exp
|
|
|
|
data/nix/tests/lang/eval-okay-types.nix
|
|
|
|
data/nix/tests/lang/eval-okay-versions.exp
|
|
|
|
data/nix/tests/lang/eval-okay-versions.nix
|
|
|
|
data/nix/tests/lang/eval-okay-with.exp
|
|
|
|
data/nix/tests/lang/eval-okay-with.nix
|
|
|
|
data/nix/tests/lang/eval-okay-xml.exp.xml
|
|
|
|
data/nix/tests/lang/eval-okay-xml.nix
|
|
|
|
data/nix/tests/lang/imported.nix
|
|
|
|
data/nix/tests/lang/imported2.nix
|
|
|
|
data/nix/tests/lang/lib.nix
|
|
|
|
data/nix/tests/lang/parse-fail-dup-attrs-1.nix
|
|
|
|
data/nix/tests/lang/parse-fail-dup-attrs-2.nix
|
|
|
|
data/nix/tests/lang/parse-fail-dup-attrs-3.nix
|
|
|
|
data/nix/tests/lang/parse-fail-dup-attrs-4.nix
|
|
|
|
data/nix/tests/lang/parse-fail-dup-attrs-6.nix
|
|
|
|
data/nix/tests/lang/parse-fail-dup-attrs-7.nix
|
|
|
|
data/nix/tests/lang/parse-fail-dup-formals.nix
|
|
|
|
data/nix/tests/lang/parse-fail-patterns-1.nix
|
|
|
|
data/nix/tests/lang/parse-fail-regression-20060610.nix
|
|
|
|
data/nix/tests/lang/parse-fail-undef-var-2.nix
|
|
|
|
data/nix/tests/lang/parse-fail-undef-var.nix
|
|
|
|
data/nix/tests/lang/parse-okay-1.nix
|
|
|
|
data/nix/tests/lang/parse-okay-crlf.nix
|
|
|
|
data/nix/tests/lang/parse-okay-dup-attrs-5.nix
|
|
|
|
data/nix/tests/lang/parse-okay-regression-20041027.nix
|
|
|
|
data/nix/tests/lang/parse-okay-regression-751.nix
|
|
|
|
data/nix/tests/lang/parse-okay-subversion.nix
|
|
|
|
data/nix/tests/lang/parse-okay-url.nix
|
|
|
|
data/nix/tests/lang/readDir/bar
|
|
|
|
data/nix/tests/lang/readDir/foo/git-hates-directories
|
|
|
|
data/nix/tests/linux-sandbox.sh
|
|
|
|
data/nix/tests/local.mk
|
|
|
|
data/nix/tests/logging.sh
|
|
|
|
data/nix/tests/misc.sh
|
|
|
|
data/nix/tests/multiple-outputs.nix
|
|
|
|
data/nix/tests/multiple-outputs.sh
|
|
|
|
data/nix/tests/nar-access.nix
|
|
|
|
data/nix/tests/nar-access.sh
|
|
|
|
data/nix/tests/nix-build.sh
|
|
|
|
data/nix/tests/nix-channel.sh
|
|
|
|
data/nix/tests/nix-copy-closure.nix
|
|
|
|
data/nix/tests/nix-profile.sh
|
|
|
|
data/nix/tests/nix-shell.sh
|
|
|
|
data/nix/tests/optimise-store.sh
|
|
|
|
data/nix/tests/parallel.builder.sh
|
|
|
|
data/nix/tests/parallel.nix
|
|
|
|
data/nix/tests/parallel.sh
|
|
|
|
data/nix/tests/pass-as-file.sh
|
|
|
|
data/nix/tests/placeholders.sh
|
|
|
|
data/nix/tests/plugins.sh
|
|
|
|
data/nix/tests/plugins/local.mk
|
|
|
|
data/nix/tests/plugins/plugintest.cc
|
|
|
|
data/nix/tests/pure-eval.nix
|
|
|
|
data/nix/tests/pure-eval.sh
|
|
|
|
data/nix/tests/referrers.sh
|
|
|
|
data/nix/tests/remote-builds.nix
|
|
|
|
data/nix/tests/remote-store.sh
|
|
|
|
data/nix/tests/repair.sh
|
|
|
|
data/nix/tests/restricted.nix
|
|
|
|
data/nix/tests/restricted.sh
|
|
|
|
data/nix/tests/run.nix
|
|
|
|
data/nix/tests/run.sh
|
|
|
|
data/nix/tests/search.nix
|
|
|
|
data/nix/tests/search.sh
|
|
|
|
data/nix/tests/secure-drv-outputs.nix
|
|
|
|
data/nix/tests/secure-drv-outputs.sh
|
|
|
|
data/nix/tests/setuid.nix
|
|
|
|
data/nix/tests/shell.nix
|
|
|
|
data/nix/tests/shell.shebang.rb
|
|
|
|
data/nix/tests/shell.shebang.sh
|
|
|
|
data/nix/tests/signing.sh
|
|
|
|
data/nix/tests/simple.builder.sh
|
|
|
|
data/nix/tests/simple.nix
|
|
|
|
data/nix/tests/simple.sh
|
|
|
|
data/nix/tests/structured-attrs.nix
|
|
|
|
data/nix/tests/structured-attrs.sh
|
|
|
|
data/nix/tests/tarball.sh
|
|
|
|
data/nix/tests/timeout.nix
|
|
|
|
data/nix/tests/timeout.sh
|
|
|
|
data/nix/tests/user-envs.builder.sh
|
|
|
|
data/nix/tests/user-envs.nix
|
|
|
|
data/nix/tests/user-envs.sh
|
|
|
|
data/nix/version
|
2018-05-09 19:59:08 +02:00
|
|
|
data/nixpkgs-all-packages-pretty.nix
|
|
|
|
data/nixpkgs-all-packages.nix
|
|
|
|
data/simple-pretty.nix
|
|
|
|
data/simple.nix
|
2018-05-09 19:41:09 +02:00
|
|
|
LICENSE
|
2018-05-09 19:59:08 +02:00
|
|
|
package.yaml
|
2018-04-08 00:08:48 +02:00
|
|
|
README.md
|
2018-05-09 19:41:09 +02:00
|
|
|
tests/eval-compare/builtins.split-01.nix
|
|
|
|
tests/eval-compare/builtins.split-02.nix
|
|
|
|
tests/eval-compare/builtins.split-03.nix
|
|
|
|
tests/eval-compare/builtins.split-04.nix
|
|
|
|
tests/eval-compare/ind-string-01.nix
|
|
|
|
tests/eval-compare/ind-string-02.nix
|
|
|
|
tests/eval-compare/ind-string-03.nix
|
|
|
|
tests/eval-compare/ind-string-04.nix
|
|
|
|
tests/eval-compare/ind-string-05.nix
|
|
|
|
tests/eval-compare/ind-string-06.nix
|
|
|
|
tests/eval-compare/ind-string-07.nix
|
|
|
|
tests/eval-compare/ind-string-08.nix
|
|
|
|
tests/eval-compare/ind-string-09.nix
|
|
|
|
tests/eval-compare/ind-string-10.nix
|
|
|
|
tests/eval-compare/ind-string-11.nix
|
|
|
|
tests/eval-compare/ind-string-12.nix
|
|
|
|
tests/eval-compare/ind-string-13.nix
|
|
|
|
tests/eval-compare/ind-string-14.nix
|
|
|
|
tests/eval-compare/ind-string-15.nix
|
|
|
|
tests/eval-compare/ind-string-16.nix
|
|
|
|
tests/eval-compare/ind-string-17.nix
|
2015-07-23 04:03:30 +02:00
|
|
|
|
2018-04-08 00:08:48 +02:00
|
|
|
source-repository head
|
|
|
|
type: git
|
2018-05-10 22:57:53 +02:00
|
|
|
location: https://github.com/haskell-nix/hnix
|
2018-04-08 00:08:48 +02:00
|
|
|
|
2018-04-22 20:09:56 +02:00
|
|
|
flag optimize
|
|
|
|
description: Enable all optimization flags
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2018-05-01 03:47:21 +02:00
|
|
|
flag profiling
|
|
|
|
description: Enable profiling
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2018-04-19 01:28:21 +02:00
|
|
|
flag tracing
|
|
|
|
description: Enable full debug tracing
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2018-04-08 00:08:48 +02:00
|
|
|
library
|
|
|
|
exposed-modules:
|
|
|
|
Nix
|
|
|
|
Nix.Atoms
|
|
|
|
Nix.Builtins
|
2018-04-12 05:19:59 +02:00
|
|
|
Nix.Cache
|
2018-04-11 06:01:48 +02:00
|
|
|
Nix.Context
|
2018-04-14 03:09:12 +02:00
|
|
|
Nix.Convert
|
2018-04-11 06:01:48 +02:00
|
|
|
Nix.Effects
|
2018-04-08 00:08:48 +02:00
|
|
|
Nix.Eval
|
2018-04-09 09:52:10 +02:00
|
|
|
Nix.Exec
|
2018-04-08 00:08:48 +02:00
|
|
|
Nix.Expr
|
|
|
|
Nix.Expr.Shorthands
|
|
|
|
Nix.Expr.Types
|
|
|
|
Nix.Expr.Types.Annotated
|
2018-04-24 11:14:27 +02:00
|
|
|
Nix.Frames
|
2018-04-08 00:08:48 +02:00
|
|
|
Nix.Lint
|
2018-07-28 21:32:15 +02:00
|
|
|
Nix.NixString
|
2018-04-08 00:25:39 +02:00
|
|
|
Nix.Normal
|
2018-04-12 05:53:38 +02:00
|
|
|
Nix.Options
|
2018-04-08 00:08:48 +02:00
|
|
|
Nix.Parser
|
|
|
|
Nix.Pretty
|
2018-04-20 11:57:23 +02:00
|
|
|
Nix.Reduce
|
2018-04-24 11:14:27 +02:00
|
|
|
Nix.Render
|
2018-04-24 20:12:20 +02:00
|
|
|
Nix.Render.Frame
|
2018-04-08 00:08:48 +02:00
|
|
|
Nix.Scope
|
2018-04-21 02:05:21 +02:00
|
|
|
Nix.Strings
|
2018-04-08 00:08:48 +02:00
|
|
|
Nix.TH
|
|
|
|
Nix.Thunk
|
2018-04-12 19:53:50 +02:00
|
|
|
Nix.Type.Assumption
|
|
|
|
Nix.Type.Env
|
|
|
|
Nix.Type.Infer
|
|
|
|
Nix.Type.Type
|
2018-04-08 00:08:48 +02:00
|
|
|
Nix.Utils
|
|
|
|
Nix.Value
|
|
|
|
Nix.XML
|
|
|
|
other-modules:
|
|
|
|
Paths_hnix
|
|
|
|
hs-source-dirs:
|
|
|
|
src
|
2018-04-29 03:21:24 +02:00
|
|
|
ghc-options: -Wall
|
2018-04-08 00:08:48 +02:00
|
|
|
build-depends:
|
|
|
|
aeson
|
2014-07-01 06:12:18 +02:00
|
|
|
, ansi-wl-pprint
|
2018-04-08 00:08:48 +02:00
|
|
|
, array >=0.4 && <0.6
|
|
|
|
, base >=4.9 && <5
|
2018-04-11 03:57:17 +02:00
|
|
|
, binary
|
2018-04-08 00:08:48 +02:00
|
|
|
, bytestring
|
2014-07-01 06:12:18 +02:00
|
|
|
, containers
|
2014-09-27 20:11:17 +02:00
|
|
|
, data-fix
|
2018-05-09 01:40:56 +02:00
|
|
|
, deepseq >=1.4.2 && <1.5
|
2018-07-19 19:30:57 +02:00
|
|
|
, deriving-compat >=0.3 && <0.6
|
2018-04-07 00:20:21 +02:00
|
|
|
, directory
|
2018-04-08 00:08:48 +02:00
|
|
|
, exceptions
|
2018-04-07 00:20:21 +02:00
|
|
|
, filepath
|
2018-08-10 04:09:00 +02:00
|
|
|
, free
|
2018-05-09 01:40:56 +02:00
|
|
|
, hashing
|
2018-05-03 06:38:13 +02:00
|
|
|
, http-client
|
|
|
|
, http-client-tls
|
|
|
|
, http-types
|
2018-05-10 22:51:14 +02:00
|
|
|
, interpolate
|
2018-05-06 09:40:08 +02:00
|
|
|
, lens-family-th
|
Much more work on type inference; report multiple possible types
This is needed because of a function like this:
x: y: x + y
This is polymorphic, but over exactly four possibilities:
int -> int
int -> float
float -> int
float -> float
The "type" is really the combination of the four, since we don't yet have a
mechanism like type classes, which could have rendered this as a single type:
(Num a, Num b) => (x :: a): (y :: b): x + y
Going this route will require that we manage an implicit type classes
hierarchy, and perform unification on constraints as well as types. In the
interim, I just lifted the unification algorithm into the LogicT monad, and
use back-tracking search to find all the possible types an expression could
be.
The main problem with using LogicT, however, is that there are many types
it *couldn't* be, and in the case of a unification failure, it not yet clear
what the type should have been. For example:
"foo" + 2
Should the string have been a float or an integer or a path? Or should the
integer have been a string? So for now we report all the possibilities, since
it's not obvious which part of the expression is in error:
hnix: Type error: TypeInferenceErrors
[ UnificationFail (TCon "integer") (TCon "string")
, UnificationFail (TCon "string") (TCon "path")
, UnificationFail (TCon "string") (TCon "float")
, UnificationFail (TCon "string") (TCon "integer")
]
This is a case where enumerating types rather than trying to make them compact
using type classes might actually be an improvement, since the errors here
would have been only slightly less numerous:
string != Num a => a
string != path
integer != string
Clearly a better reporting mechanism is needed to clarify these problems. I
can imagine that in an IDE, there would be a squiggly under both sides of the
expression, each suggesting the type that was expected for that argument under
the assumption that the other argument (the one not be inspected) was the
correct one.
2018-05-02 02:35:13 +02:00
|
|
|
, logict
|
2018-06-27 20:36:04 +02:00
|
|
|
, megaparsec >=6.5 && <7.0
|
2018-04-08 00:08:48 +02:00
|
|
|
, monadlist
|
|
|
|
, mtl
|
2018-04-12 05:53:38 +02:00
|
|
|
, optparse-applicative
|
2018-04-08 00:08:48 +02:00
|
|
|
, process
|
|
|
|
, regex-tdfa
|
|
|
|
, regex-tdfa-text
|
2018-04-04 02:36:54 +02:00
|
|
|
, scientific
|
2018-04-08 00:08:48 +02:00
|
|
|
, semigroups >=0.18 && <0.19
|
2018-04-01 01:53:35 +02:00
|
|
|
, split
|
2018-04-08 00:08:48 +02:00
|
|
|
, syb
|
2018-04-03 23:21:33 +02:00
|
|
|
, template-haskell
|
2018-04-08 00:08:48 +02:00
|
|
|
, text
|
2018-03-28 03:42:31 +02:00
|
|
|
, these
|
2018-05-03 06:32:00 +02:00
|
|
|
, time
|
2018-04-08 00:08:48 +02:00
|
|
|
, transformers
|
2018-04-02 04:16:55 +02:00
|
|
|
, unix
|
2018-04-08 00:08:48 +02:00
|
|
|
, unordered-containers >=0.2.9 && <0.3
|
2018-04-04 02:36:54 +02:00
|
|
|
, vector
|
2018-04-05 10:13:13 +02:00
|
|
|
, xml
|
2018-05-11 00:07:32 +02:00
|
|
|
if flag(optimize)
|
|
|
|
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
|
|
|
|
if flag(tracing)
|
|
|
|
cpp-options: -DENABLE_TRACING=1
|
2018-05-11 01:12:42 +02:00
|
|
|
if os(linux) && impl(ghc >= 8.2) && impl(ghc < 8.3)
|
2018-05-11 00:07:32 +02:00
|
|
|
build-depends:
|
|
|
|
compact
|
2018-05-09 01:40:56 +02:00
|
|
|
if !impl(ghcjs)
|
|
|
|
build-depends:
|
|
|
|
base16-bytestring
|
|
|
|
, cryptohash-md5
|
|
|
|
, cryptohash-sha1
|
|
|
|
, cryptohash-sha256
|
|
|
|
, cryptohash-sha512
|
|
|
|
, serialise
|
2018-05-11 00:07:32 +02:00
|
|
|
if impl(ghc < 8.1)
|
|
|
|
build-depends:
|
|
|
|
lens-family ==1.2.1
|
|
|
|
, lens-family-core ==1.2.1
|
|
|
|
else
|
|
|
|
build-depends:
|
|
|
|
lens-family >=1.2.2
|
|
|
|
, lens-family-core >=1.2.2
|
|
|
|
if impl(ghc < 8.4.0) && !flag(profiling)
|
|
|
|
build-depends:
|
|
|
|
ghc-datasize
|
2018-05-09 01:40:56 +02:00
|
|
|
if impl(ghcjs)
|
2018-04-29 03:29:37 +02:00
|
|
|
build-depends:
|
2018-05-09 01:40:56 +02:00
|
|
|
hashable >=1.2.4 && <1.3
|
|
|
|
else
|
|
|
|
exposed-modules:
|
|
|
|
Nix.Options.Parser
|
|
|
|
build-depends:
|
|
|
|
hashable >=1.2.5 && <1.3
|
|
|
|
, haskeline
|
|
|
|
, pretty-show
|
2018-04-08 00:08:48 +02:00
|
|
|
default-language: Haskell2010
|
2018-04-07 00:20:21 +02:00
|
|
|
|
2018-04-08 00:08:48 +02:00
|
|
|
executable hnix
|
|
|
|
main-is: Main.hs
|
|
|
|
other-modules:
|
2018-04-12 19:53:50 +02:00
|
|
|
Repl
|
2018-04-08 00:08:48 +02:00
|
|
|
Paths_hnix
|
|
|
|
hs-source-dirs:
|
|
|
|
main
|
2018-04-29 03:21:24 +02:00
|
|
|
ghc-options: -Wall
|
2018-04-08 00:08:48 +02:00
|
|
|
build-depends:
|
2018-04-17 23:24:52 +02:00
|
|
|
aeson
|
|
|
|
, ansi-wl-pprint
|
2018-04-08 00:08:48 +02:00
|
|
|
, base >=4.9 && <5
|
2018-04-12 02:59:42 +02:00
|
|
|
, bytestring
|
2014-07-01 05:37:20 +02:00
|
|
|
, containers
|
2014-09-27 20:11:17 +02:00
|
|
|
, data-fix
|
2018-05-09 01:40:56 +02:00
|
|
|
, deepseq >=1.4.2 && <1.5
|
2018-04-08 00:08:48 +02:00
|
|
|
, exceptions
|
2018-04-11 23:35:17 +02:00
|
|
|
, filepath
|
2018-05-09 01:40:56 +02:00
|
|
|
, hashing
|
2018-04-29 01:13:24 +02:00
|
|
|
, haskeline
|
2018-04-08 00:08:48 +02:00
|
|
|
, hnix
|
|
|
|
, mtl
|
2018-03-28 06:59:27 +02:00
|
|
|
, optparse-applicative
|
2018-05-01 03:47:58 +02:00
|
|
|
, pretty-show
|
2018-04-12 19:53:50 +02:00
|
|
|
, repline
|
2018-04-07 00:20:21 +02:00
|
|
|
, template-haskell
|
2018-04-08 00:08:48 +02:00
|
|
|
, text
|
2018-05-03 06:32:00 +02:00
|
|
|
, time
|
2018-03-28 23:45:10 +02:00
|
|
|
, transformers
|
2018-04-08 00:08:48 +02:00
|
|
|
, unordered-containers >=0.2.9 && <0.3
|
2018-05-11 00:07:32 +02:00
|
|
|
if flag(optimize)
|
|
|
|
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
|
|
|
|
if flag(tracing)
|
|
|
|
cpp-options: -DENABLE_TRACING=1
|
2018-05-11 01:12:42 +02:00
|
|
|
if os(linux) && impl(ghc >= 8.2) && impl(ghc < 8.3)
|
2018-05-11 00:07:32 +02:00
|
|
|
build-depends:
|
|
|
|
compact
|
2018-05-09 01:40:56 +02:00
|
|
|
if !impl(ghcjs)
|
|
|
|
build-depends:
|
|
|
|
base16-bytestring
|
|
|
|
, cryptohash-md5
|
|
|
|
, cryptohash-sha1
|
|
|
|
, cryptohash-sha256
|
|
|
|
, cryptohash-sha512
|
|
|
|
, serialise
|
|
|
|
if impl(ghcjs)
|
|
|
|
buildable: False
|
|
|
|
else
|
|
|
|
buildable: True
|
2018-04-08 00:08:48 +02:00
|
|
|
default-language: Haskell2010
|
2014-07-01 05:37:20 +02:00
|
|
|
|
2018-04-08 00:08:48 +02:00
|
|
|
test-suite hnix-tests
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Main.hs
|
|
|
|
other-modules:
|
|
|
|
EvalTests
|
|
|
|
NixLanguageTests
|
|
|
|
ParserTests
|
2018-04-27 22:35:15 +02:00
|
|
|
PrettyParseTests
|
2018-04-08 00:08:48 +02:00
|
|
|
PrettyTests
|
2018-06-25 12:55:05 +02:00
|
|
|
ReduceExprTests
|
2018-04-08 00:13:58 +02:00
|
|
|
TestCommon
|
2018-04-08 00:08:48 +02:00
|
|
|
Paths_hnix
|
|
|
|
hs-source-dirs:
|
|
|
|
tests
|
2018-04-29 03:21:24 +02:00
|
|
|
ghc-options: -Wall -threaded
|
2018-04-08 00:08:48 +02:00
|
|
|
build-depends:
|
2018-04-27 22:35:15 +02:00
|
|
|
Diff
|
|
|
|
, Glob
|
2018-04-08 00:08:48 +02:00
|
|
|
, ansi-wl-pprint
|
|
|
|
, base >=4.9 && <5
|
2018-04-12 05:53:38 +02:00
|
|
|
, bytestring
|
2014-08-03 14:17:43 +02:00
|
|
|
, containers
|
2014-09-27 20:11:17 +02:00
|
|
|
, data-fix
|
2018-05-09 01:40:56 +02:00
|
|
|
, deepseq >=1.4.2 && <1.5
|
2018-04-10 21:38:14 +02:00
|
|
|
, directory
|
2018-04-08 00:08:48 +02:00
|
|
|
, exceptions
|
2018-04-07 00:20:21 +02:00
|
|
|
, filepath
|
2018-04-27 22:35:15 +02:00
|
|
|
, generic-random
|
2018-05-09 01:40:56 +02:00
|
|
|
, hashing
|
2018-05-14 22:19:32 +02:00
|
|
|
, hedgehog
|
2018-04-08 00:08:48 +02:00
|
|
|
, hnix
|
|
|
|
, interpolate
|
2018-04-27 22:35:15 +02:00
|
|
|
, megaparsec
|
2018-04-08 00:08:48 +02:00
|
|
|
, mtl
|
2018-04-12 05:53:38 +02:00
|
|
|
, optparse-applicative
|
2018-05-07 07:13:30 +02:00
|
|
|
, pretty-show
|
2018-04-07 00:20:21 +02:00
|
|
|
, process
|
|
|
|
, split
|
2018-04-08 00:08:48 +02:00
|
|
|
, tasty
|
2018-05-14 22:19:32 +02:00
|
|
|
, tasty-hedgehog
|
2018-04-08 00:08:48 +02:00
|
|
|
, tasty-hunit
|
2018-04-27 22:35:15 +02:00
|
|
|
, tasty-quickcheck
|
2018-04-08 00:08:48 +02:00
|
|
|
, tasty-th
|
|
|
|
, template-haskell
|
|
|
|
, text
|
2018-05-03 06:32:00 +02:00
|
|
|
, time
|
2018-03-28 23:45:10 +02:00
|
|
|
, transformers
|
2018-04-07 21:02:33 +02:00
|
|
|
, unix
|
2018-04-08 00:08:48 +02:00
|
|
|
, unordered-containers >=0.2.9 && <0.3
|
2018-05-11 00:07:32 +02:00
|
|
|
if flag(optimize)
|
|
|
|
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
|
|
|
|
if flag(tracing)
|
|
|
|
cpp-options: -DENABLE_TRACING=1
|
2018-05-11 01:12:42 +02:00
|
|
|
if os(linux) && impl(ghc >= 8.2) && impl(ghc < 8.3)
|
2018-05-11 00:07:32 +02:00
|
|
|
build-depends:
|
|
|
|
compact
|
2018-05-09 01:40:56 +02:00
|
|
|
if !impl(ghcjs)
|
|
|
|
build-depends:
|
|
|
|
base16-bytestring
|
|
|
|
, cryptohash-md5
|
|
|
|
, cryptohash-sha1
|
|
|
|
, cryptohash-sha256
|
|
|
|
, cryptohash-sha512
|
|
|
|
, serialise
|
|
|
|
if impl(ghcjs)
|
|
|
|
buildable: False
|
|
|
|
else
|
|
|
|
buildable: True
|
2018-04-08 00:08:48 +02:00
|
|
|
default-language: Haskell2010
|
2018-06-27 21:51:34 +02:00
|
|
|
build-tool-depends: hspec-discover:hspec-discover == 2.*
|
2014-08-03 14:17:43 +02:00
|
|
|
|
2018-04-08 00:08:48 +02:00
|
|
|
benchmark hnix-benchmarks
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Main.hs
|
|
|
|
other-modules:
|
|
|
|
ParserBench
|
|
|
|
Paths_hnix
|
|
|
|
hs-source-dirs:
|
|
|
|
benchmarks
|
2018-04-29 03:21:24 +02:00
|
|
|
ghc-options: -Wall
|
2018-04-08 00:08:48 +02:00
|
|
|
build-depends:
|
|
|
|
ansi-wl-pprint
|
|
|
|
, base >=4.9 && <5
|
2018-04-12 05:53:38 +02:00
|
|
|
, bytestring
|
2014-08-27 23:54:31 +02:00
|
|
|
, containers
|
2018-04-07 00:20:21 +02:00
|
|
|
, criterion
|
2018-04-08 00:08:48 +02:00
|
|
|
, data-fix
|
2018-05-09 01:40:56 +02:00
|
|
|
, deepseq >=1.4.2 && <1.5
|
2018-04-08 00:08:48 +02:00
|
|
|
, exceptions
|
2018-04-11 23:35:17 +02:00
|
|
|
, filepath
|
2018-05-09 01:40:56 +02:00
|
|
|
, hashing
|
2018-04-08 00:08:48 +02:00
|
|
|
, hnix
|
|
|
|
, mtl
|
2018-04-12 05:53:38 +02:00
|
|
|
, optparse-applicative
|
2018-04-08 00:08:48 +02:00
|
|
|
, template-haskell
|
|
|
|
, text
|
2018-05-03 06:32:00 +02:00
|
|
|
, time
|
2018-04-08 00:08:48 +02:00
|
|
|
, transformers
|
|
|
|
, unordered-containers >=0.2.9 && <0.3
|
2018-05-11 00:07:32 +02:00
|
|
|
if flag(optimize)
|
|
|
|
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
|
|
|
|
if flag(tracing)
|
|
|
|
cpp-options: -DENABLE_TRACING=1
|
2018-05-11 01:12:42 +02:00
|
|
|
if os(linux) && impl(ghc >= 8.2) && impl(ghc < 8.3)
|
2018-05-11 00:07:32 +02:00
|
|
|
build-depends:
|
|
|
|
compact
|
2018-05-09 01:40:56 +02:00
|
|
|
if !impl(ghcjs)
|
|
|
|
build-depends:
|
|
|
|
base16-bytestring
|
|
|
|
, cryptohash-md5
|
|
|
|
, cryptohash-sha1
|
|
|
|
, cryptohash-sha256
|
|
|
|
, cryptohash-sha512
|
|
|
|
, serialise
|
|
|
|
if impl(ghcjs)
|
|
|
|
buildable: False
|
|
|
|
else
|
|
|
|
buildable: True
|
2018-04-08 00:08:48 +02:00
|
|
|
default-language: Haskell2010
|