├── .envrc ├── .github └── workflows │ ├── update-flake-lock-doc.yaml │ └── update-flake-lock-example.yaml ├── .gitignore ├── .vscode ├── extensions.json └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── dev ├── flake.lock └── flake.nix ├── doc ├── README ├── debugging.md ├── defaults.md ├── dependency.md ├── devshell.md ├── docker.md ├── examples.md ├── flake.lock ├── flake.nix ├── gotchas.md ├── guide.md ├── haskell-flake.webp ├── hls.md ├── index.md ├── index.yaml ├── local.md ├── modules.md ├── package-set.md ├── ref.md ├── settings.md ├── size.md ├── start.md └── under-the-hood.md ├── example ├── example.cabal ├── flake.lock ├── flake.nix └── src │ └── Main.hs ├── flake.nix ├── justfile ├── nix ├── build-haskell-package.nix ├── haskell-parsers │ ├── README.md │ ├── default.nix │ ├── parser.nix │ ├── parser_tests.nix │ └── test │ │ ├── flake.lock │ │ └── flake.nix ├── logging.nix ├── modules │ ├── default.nix │ ├── project-modules.nix │ ├── project-tests.nix │ ├── project │ │ ├── default.nix │ │ ├── defaults.nix │ │ ├── devshell.nix │ │ ├── hls-check.nix │ │ ├── outputs.nix │ │ ├── packages │ │ │ ├── default.nix │ │ │ └── package.nix │ │ └── settings │ │ │ ├── all.nix │ │ │ ├── default.nix │ │ │ └── lib.nix │ └── projects.nix └── types │ ├── app-type.nix │ └── haskell-overlay-type.nix ├── test ├── README.md ├── cabal2nix │ ├── default.nix │ ├── flake.nix │ ├── haskell-flake-test.cabal │ └── src │ │ └── Main.hs ├── otherOverlays │ ├── flake.nix │ ├── haskell-flake-test.cabal │ └── src │ │ └── Main.hs ├── project-module │ ├── flake.nix │ ├── haskell-flake-test.cabal │ └── src │ │ └── Main.hs ├── settings-defaults │ ├── flake.nix │ ├── haskell-flake-test.cabal │ └── src │ │ └── Main.hs ├── simple │ ├── README.md │ ├── flake.nix │ ├── haskell-flake-test.cabal │ ├── script │ └── src │ │ └── Main.hs └── with-subdir │ ├── cabal.project │ ├── flake.nix │ └── haskell-flake-test │ ├── README.md │ ├── haskell-flake-test.cabal │ └── src │ └── Main.hs └── vira.hs /.envrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/.envrc -------------------------------------------------------------------------------- /.github/workflows/update-flake-lock-doc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/.github/workflows/update-flake-lock-doc.yaml -------------------------------------------------------------------------------- /.github/workflows/update-flake-lock-example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/.github/workflows/update-flake-lock-example.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/README.md -------------------------------------------------------------------------------- /dev/flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/dev/flake.lock -------------------------------------------------------------------------------- /dev/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/dev/flake.nix -------------------------------------------------------------------------------- /doc/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/README -------------------------------------------------------------------------------- /doc/debugging.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/debugging.md -------------------------------------------------------------------------------- /doc/defaults.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/defaults.md -------------------------------------------------------------------------------- /doc/dependency.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/dependency.md -------------------------------------------------------------------------------- /doc/devshell.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/devshell.md -------------------------------------------------------------------------------- /doc/docker.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/docker.md -------------------------------------------------------------------------------- /doc/examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/examples.md -------------------------------------------------------------------------------- /doc/flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/flake.lock -------------------------------------------------------------------------------- /doc/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/flake.nix -------------------------------------------------------------------------------- /doc/gotchas.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/gotchas.md -------------------------------------------------------------------------------- /doc/guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/guide.md -------------------------------------------------------------------------------- /doc/haskell-flake.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/haskell-flake.webp -------------------------------------------------------------------------------- /doc/hls.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/hls.md -------------------------------------------------------------------------------- /doc/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/index.md -------------------------------------------------------------------------------- /doc/index.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/index.yaml -------------------------------------------------------------------------------- /doc/local.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/local.md -------------------------------------------------------------------------------- /doc/modules.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/modules.md -------------------------------------------------------------------------------- /doc/package-set.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/package-set.md -------------------------------------------------------------------------------- /doc/ref.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/ref.md -------------------------------------------------------------------------------- /doc/settings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/settings.md -------------------------------------------------------------------------------- /doc/size.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/size.md -------------------------------------------------------------------------------- /doc/start.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/start.md -------------------------------------------------------------------------------- /doc/under-the-hood.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/doc/under-the-hood.md -------------------------------------------------------------------------------- /example/example.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/example/example.cabal -------------------------------------------------------------------------------- /example/flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/example/flake.lock -------------------------------------------------------------------------------- /example/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/example/flake.nix -------------------------------------------------------------------------------- /example/src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/example/src/Main.hs -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/flake.nix -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/justfile -------------------------------------------------------------------------------- /nix/build-haskell-package.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/build-haskell-package.nix -------------------------------------------------------------------------------- /nix/haskell-parsers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/haskell-parsers/README.md -------------------------------------------------------------------------------- /nix/haskell-parsers/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/haskell-parsers/default.nix -------------------------------------------------------------------------------- /nix/haskell-parsers/parser.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/haskell-parsers/parser.nix -------------------------------------------------------------------------------- /nix/haskell-parsers/parser_tests.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/haskell-parsers/parser_tests.nix -------------------------------------------------------------------------------- /nix/haskell-parsers/test/flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/haskell-parsers/test/flake.lock -------------------------------------------------------------------------------- /nix/haskell-parsers/test/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/haskell-parsers/test/flake.nix -------------------------------------------------------------------------------- /nix/logging.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/logging.nix -------------------------------------------------------------------------------- /nix/modules/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/default.nix -------------------------------------------------------------------------------- /nix/modules/project-modules.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/project-modules.nix -------------------------------------------------------------------------------- /nix/modules/project-tests.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/project-tests.nix -------------------------------------------------------------------------------- /nix/modules/project/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/project/default.nix -------------------------------------------------------------------------------- /nix/modules/project/defaults.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/project/defaults.nix -------------------------------------------------------------------------------- /nix/modules/project/devshell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/project/devshell.nix -------------------------------------------------------------------------------- /nix/modules/project/hls-check.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/project/hls-check.nix -------------------------------------------------------------------------------- /nix/modules/project/outputs.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/project/outputs.nix -------------------------------------------------------------------------------- /nix/modules/project/packages/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/project/packages/default.nix -------------------------------------------------------------------------------- /nix/modules/project/packages/package.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/project/packages/package.nix -------------------------------------------------------------------------------- /nix/modules/project/settings/all.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/project/settings/all.nix -------------------------------------------------------------------------------- /nix/modules/project/settings/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/project/settings/default.nix -------------------------------------------------------------------------------- /nix/modules/project/settings/lib.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/project/settings/lib.nix -------------------------------------------------------------------------------- /nix/modules/projects.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/modules/projects.nix -------------------------------------------------------------------------------- /nix/types/app-type.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/types/app-type.nix -------------------------------------------------------------------------------- /nix/types/haskell-overlay-type.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/nix/types/haskell-overlay-type.nix -------------------------------------------------------------------------------- /test/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/README.md -------------------------------------------------------------------------------- /test/cabal2nix/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/cabal2nix/default.nix -------------------------------------------------------------------------------- /test/cabal2nix/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/cabal2nix/flake.nix -------------------------------------------------------------------------------- /test/cabal2nix/haskell-flake-test.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/cabal2nix/haskell-flake-test.cabal -------------------------------------------------------------------------------- /test/cabal2nix/src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/cabal2nix/src/Main.hs -------------------------------------------------------------------------------- /test/otherOverlays/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/otherOverlays/flake.nix -------------------------------------------------------------------------------- /test/otherOverlays/haskell-flake-test.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/otherOverlays/haskell-flake-test.cabal -------------------------------------------------------------------------------- /test/otherOverlays/src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/otherOverlays/src/Main.hs -------------------------------------------------------------------------------- /test/project-module/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/project-module/flake.nix -------------------------------------------------------------------------------- /test/project-module/haskell-flake-test.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/project-module/haskell-flake-test.cabal -------------------------------------------------------------------------------- /test/project-module/src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/project-module/src/Main.hs -------------------------------------------------------------------------------- /test/settings-defaults/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/settings-defaults/flake.nix -------------------------------------------------------------------------------- /test/settings-defaults/haskell-flake-test.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/settings-defaults/haskell-flake-test.cabal -------------------------------------------------------------------------------- /test/settings-defaults/src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/settings-defaults/src/Main.hs -------------------------------------------------------------------------------- /test/simple/README.md: -------------------------------------------------------------------------------- 1 | # simple 2 | 3 | Just a README file. 4 | 5 | -------------------------------------------------------------------------------- /test/simple/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/simple/flake.nix -------------------------------------------------------------------------------- /test/simple/haskell-flake-test.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/simple/haskell-flake-test.cabal -------------------------------------------------------------------------------- /test/simple/script: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/simple/script -------------------------------------------------------------------------------- /test/simple/src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/simple/src/Main.hs -------------------------------------------------------------------------------- /test/with-subdir/cabal.project: -------------------------------------------------------------------------------- 1 | packages: 2 | ./haskell-flake-test -------------------------------------------------------------------------------- /test/with-subdir/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/with-subdir/flake.nix -------------------------------------------------------------------------------- /test/with-subdir/haskell-flake-test/README.md: -------------------------------------------------------------------------------- 1 | A cabal package in a sub-dir. 2 | -------------------------------------------------------------------------------- /test/with-subdir/haskell-flake-test/haskell-flake-test.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/with-subdir/haskell-flake-test/haskell-flake-test.cabal -------------------------------------------------------------------------------- /test/with-subdir/haskell-flake-test/src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/test/with-subdir/haskell-flake-test/src/Main.hs -------------------------------------------------------------------------------- /vira.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srid/haskell-flake/HEAD/vira.hs --------------------------------------------------------------------------------