1
1
mirror of https://github.com/nmattia/snack.git synced 2024-12-03 02:05:32 +03:00
Commit Graph

72 Commits

Author SHA1 Message Date
Stefan Matting
db43dc4c97 Add "hoogle" command 2019-06-12 17:40:25 +02:00
Nicolas Mattia
90938d85df Fix absolute paths in YAML import 2019-02-27 21:47:51 +01:00
Nicolas Mattia
abcdd06696 Make package import in YAML more robust 2019-02-27 21:04:50 +01:00
Nicolas Mattia
c2129fa221 Make package file discovery more robust 2019-02-27 20:34:47 +01:00
Nicolas Mattia
f09f33fed4 Support extra packages in yaml 2019-02-26 23:37:52 +01:00
Nicolas Mattia
a28c4c53b8 Simplify HPack loader 2019-02-26 21:03:16 +01:00
Nicolas Mattia
67b5a83d85 Reduce indirection in GHCi 2019-02-24 21:48:25 +01:00
Nicolas Mattia
6ad8515a1a Fix derivation name 2019-02-15 22:57:31 +01:00
Nicolas Mattia
31ab9ca5c1 nixpkgs: track 18.03 2019-02-05 18:06:06 +01:00
Nicolas Mattia
5d4bada51d Use ghc-options in HPack 2019-01-31 18:59:25 +01:00
Nicolas Mattia
6b4d8bb983 Force and infer executable names 2019-01-30 19:14:40 +01:00
Nicolas Mattia
ecefcc15dd Major build interface refactor 2019-01-29 22:15:09 +01:00
Nicolas Mattia
d206d019fd wip 2019-01-18 20:51:51 +01:00
Nicolas Mattia
efa6f56c8b Allow no source-dirs in hpack 2019-01-17 22:18:43 +01:00
Nicolas Mattia
ed7f604ecf Allow multiple source directories 2018-11-18 13:59:53 +04:00
Nicolas Mattia
1337e52094 Clean up files.nix 2018-11-18 13:02:10 +04:00
Nicolas Mattia
6bfd266494 Fix CPP parsing with global extensions 2018-10-21 18:51:35 +02:00
2mol
217cd28b91 improve matching against .hs files 2018-10-21 13:49:01 +02:00
Phil de Joux
e42469b67f Yaml.decode is deprecated, use decodeEither' instead, #87. 2018-10-12 15:15:00 -04:00
Nicolas Mattia
726690f4c8 snack.nix: allow more overrides 2018-10-04 21:30:56 +03:00
Nicolas Mattia
6904d6b4f5 Rename snack.nix -> package.nix 2018-10-04 21:30:56 +03:00
Nicolas Mattia
1ee0684116 imports: filter out BOM 2018-10-03 21:37:09 +03:00
Nicolas Mattia
e8841fff02 Fix CPP pragma parsing 2018-10-03 21:10:38 +03:00
Rupert Horlick
10630e0971
Change args to snack-lib and add mkPackage 2018-09-25 16:54:33 -04:00
Rupert Horlick
d7e1951144
Correctly propagate build dependencies 2018-09-25 16:53:35 -04:00
Nicolas Mattia
ee31bb94cb Fix nubbing 2018-09-10 21:04:40 +03:00
Nicolas Mattia
6860bac91f Don't use store paths as attr names 2018-09-01 20:41:32 +03:00
Nicolas Mattia
bbef676f09 Enable utf-8 when parsing dependencies 2018-08-26 19:29:05 +03:00
Nicolas Mattia
aee7906cfd Filter haskell modules heuristicly 2018-08-26 18:21:25 +03:00
Nicolas Mattia
b87b2164a9 Strip bound versions everywhere 2018-08-26 17:29:53 +03:00
Nicolas Mattia
817e9efb57 Use GHC's parser 2018-08-26 16:45:16 +03:00
Nicolas Mattia
0e037aa6ab hpack: fix bug on missing dependencies attr 2018-08-26 16:44:33 +03:00
Nicolas Mattia
2647f7b064 Remove empty line 2018-07-29 19:29:49 +02:00
Nicolas Mattia
b50a48a644 Use all transitive imports during build 2018-07-27 18:22:59 +02:00
Nicolas Mattia
c5c04957be Fix nested modules 2018-07-25 20:43:32 +02:00
Nicolas Mattia
972549ee93 Add comment 2018-07-23 23:42:57 +02:00
Nicolas Mattia
7788e6a39d Better HPack support 2018-07-08 13:33:34 +02:00
Nicolas Mattia
451e0d86da Rearrange imports 2018-07-06 15:44:59 +02:00
Nicolas Mattia
191065293d Stop threading singleOut everywhere 2018-07-06 15:40:29 +02:00
Nicolas Mattia
f8bb059954 Add more (disabled) tests and refactor 2018-07-06 15:38:10 +02:00
Nicolas Mattia
85d44e5f7b Clean up 2018-07-03 15:55:56 +02:00
Nicolas Mattia
3c8ef4ec70 Add rudimentary HPack support 2018-07-02 22:56:26 +02:00
Nicolas Mattia
2c9677c1e0 Reimplement snack-exe in haskell 2018-07-01 13:50:16 +02:00
Nicolas Mattia
21d49b86f0 Add support for package extensions 2018-06-24 20:55:18 +02:00
Nicolas Mattia
724f2bd8c5 Make parser more lenient 2018-06-24 20:34:42 +02:00
Nicolas Mattia
2917c349f4 Add GHCi support for libraries 2018-06-23 21:25:44 +02:00
Nicolas Mattia
6ee6c4145e Clean up 2018-06-23 18:19:00 +02:00
Nicolas Mattia
9a22c3df46 Enable support for library build 2018-06-23 18:16:15 +02:00
Nicolas Mattia
161dd48fe3 Simplify main further 2018-06-23 14:55:10 +02:00
Nicolas Mattia
17e1b60354 Clarify intentions when building main 2018-06-23 14:51:57 +02:00