Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbecich committed Jan 21, 2024
1 parent 530af49 commit ea4072d
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
23 changes: 23 additions & 0 deletions baz.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
cabal-version: 3.0
name: bar
version: 0.1.0.0
license: MIT
license-file: LICENSE
author: Sridhar Ratnakumar
maintainer: [email protected]
category: Other
build-type: Simple
extra-doc-files: CHANGELOG.md

common warnings
ghc-options: -Wall

executable bar
import: warnings
main-is: Main.hs
build-depends:
base
, foo
, text
hs-source-dirs: src
default-language: Haskell2010
1 change: 1 addition & 0 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
packages:
./foo
./bar
./

source-repository-package
type: git
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# packages = {
# halogen-chess.source = inputs.halogen-chess;
# };
packages.default = self'.packages.bar;
packages.default = self'.packages.baz;
};
};
}
10 changes: 10 additions & 0 deletions src/Main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module Main where

import Foo (fooFunc)

import Data.Text

main :: IO ()
main = do
putStrLn "Hello, Haskell!"
fooFunc

0 comments on commit ea4072d

Please sign in to comment.