https://github.com/fullstack-development/nix-haskell-starter
https://github.com/fullstack-development/nix-haskell-starter
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fullstack-development/nix-haskell-starter
- Owner: fullstack-development
- License: other
- Created: 2023-02-15T02:03:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T02:56:08.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T00:57:36.931Z (about 1 year ago)
- Language: Nix
- Size: 5.86 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nix-haskell-starter
Simple nix config to start haskell project
- Clone or fork that project
- Find `nix-haskell-starter`, `NixHaskellStarter`, `nixHaskellStarter` and rename to your project name.
# Install & run
1) Run `nix-shell` from project root directory
2) Run `cabal build` under the nix shell
3) Run `hello`
# Create docker image
1) Build image from `docker.nix` (could be run without nix shell environment):
`nix-build --argstr imageTag latest docker.nix`
2) Load image to docker images: `docker load < result`
3) Check docker images: `docker images`