mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-01-28 09:27:11 +08:00
initial commit
This commit is contained in:
parent
e30a58c177
commit
97a04e49ea
1 changed files with 28 additions and 0 deletions
28
source/new-flake/haskell-flake/hello-flake-haskell.cabal
Normal file
28
source/new-flake/haskell-flake/hello-flake-haskell.cabal
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
cabal-version: 3.0
|
||||
name: hello-flake-haskell
|
||||
version: 1.0.0
|
||||
synopsis: A simple demonstration using a Nix flake to package a Haskell program.
|
||||
description:
|
||||
For more information and a tutorial on how to use this package,
|
||||
please see the README at <https://codeberg.org/mhwombat/hello-flake-haskell#readme>.
|
||||
homepage: https://codeberg.org/mhwombat/nix-book
|
||||
bug-reports: https://codeberg.org/mhwombat/nix-book/issues
|
||||
license: GPL-3.0-only
|
||||
license-file: LICENSE
|
||||
author: Amy de Buitléir
|
||||
maintainer: amy@nualeargais.ie
|
||||
copyright: (c) 2023 Amy de Buitléir
|
||||
category: Text
|
||||
build-type: Simple
|
||||
|
||||
executable hello-flake-haskell
|
||||
main-is: Main.hs
|
||||
build-depends:
|
||||
base,
|
||||
hostname
|
||||
-- NOTE: Best practice is to specify version constraints for the packages we depend on.
|
||||
-- However, I'm confident that this package will only be used as a Nix flake.
|
||||
-- Nix will automatically ensure that anyone running this program is using the
|
||||
-- same library versions that I used to build it.
|
||||
default-language: Haskell2010
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue