then pkgs.haskellPackages
else pkgs.haskell.packages.${ghc};
hs = haskellPackages.extend (with pkgs.haskell.lib;
- hself: hsuper: {
+ hself: hsuper:
+ {
data-fix = doJailbreak hsuper.data-fix;
primitive = doJailbreak hsuper.primitive;
assoc = doJailbreak hsuper.assoc;
shell = hs.shellFor {
packages = p: [ p.symantic-parser ];
nativeBuildInputs = [
- pkgs.cabal-install
+ #pkgs.cabal-install
#hs.cabal-install
+ pkgs.cabal-install
#hs.haskell-language-server
#hs.hpc
];
"nodes": {
"flake-utils": {
"locked": {
- "lastModified": 1605370193,
- "narHash": "sha256-YyMTf3URDL/otKdKgtoMChu4vfVL3vCMkRqpGifhUn0=",
+ "lastModified": 1610051610,
+ "narHash": "sha256-U9rPz/usA1/Aohhk7Cmc2gBrEEKRzcW4nwPWMPwja4Y=",
"owner": "numtide",
"repo": "flake-utils",
- "rev": "5021eac20303a61fafe17224c087f5519baed54d",
+ "rev": "3982c9903e93927c2164caa727cd3f6a0e6d14cc",
"type": "github"
},
"original": {
},
"nixpkgs": {
"locked": {
- "narHash": "sha256-HfBk+YMxtD/IgBalqi+QU/Pm/H7Iec0pFTKWM3YryZI=",
- "path": "/nix/store/7drdr5lynw6hci9clz4qdxqwybn7qx4f-nixpkgs-patched",
+ "narHash": "sha256-hnTAIxykdSXGlYS1MCcuWCVRjQXEktGF10E3vOhMXaU=",
+ "path": "/nix/store/j50a2vrhcrl24y5ijlrfjcmbgswgjj9n-nixpkgs-patched",
"type": "path"
},
"original": {
pkgs = inputs.nixpkgs.legacyPackages.${system};
in {
defaultPackage = import ./default.nix { inherit pkgs; };
- devShell = (import ./default.nix {
- inherit pkgs;
- }).shell;
+ devShell = (import ./default.nix { inherit pkgs; }).shell;
}
);
}
shell.nix
test/Golden/**/*.dump
test/Golden/**/*.txt
+ test/Golden/Splice/**/*.hs
extra-tmp-files:
build-type: Simple
-tested-with: GHC==9.0.0
+-- build-type: Custom
+tested-with: GHC==9.0.1
source-repository head
type: git
-fhide-source-paths
-freverse-errors
+-- custom-setup
+-- setup-depends:
+-- base >= 4.14,
+-- Cabal >= 3.0,
+-- directory >= 1,
+-- filepath >= 1.3
+
library
import: boilerplate
hs-source-dirs: src
main-is: Main.hs
other-modules:
Golden
+ --Golden.Splice
+ --Golden.Utils
+ Parser
Parser.Brainfuck
Parser.Nandlang
Parser.Playground
- -- Golden.Utils
+ --Paths_symantic_parser
-- HUnit
-- QuickCheck
+ -- autogen-modules:
+ -- Paths_symantic_parser
default-extensions:
ViewPatterns
ghc-options:
text >= 1.2,
-- time >= 1.9,
transformers >= 0.4,
+ -- turtle >= 1.5,
-- QuickCheck >= 2.0,
-- tasty-quickcheck,
unix >= 2.7,
import qualified Symantic.Parser as P
import qualified Symantic.Parser.Haskell as H
import qualified Parser
---import Golden.Utils
+--import qualified Golden.Splice
goldensIO :: IO TestTree
goldensIO = return $ testGroup "Golden"
-- with and without --accept
, goldensMachine
, goldensParser
+ --, Golden.Splice.goldens
]
goldensGrammar :: TestTree