removed executable from haskell project

This commit is contained in:
2025-05-25 22:07:26 +01:00
parent bebe2a02a0
commit 21f0fc79c1
3 changed files with 18 additions and 22 deletions

View File

@@ -27,20 +27,20 @@ extra-doc-files: README.md
common warnings
ghc-options: -Wall
executable p2prc
import: warnings
hs-source-dirs: src
main-is: Main.hs
other-extensions: OverloadedStrings
build-depends: base
, p2prc
default-language: GHC2021
-- executable p2prc
--
-- import: warnings
--
-- hs-source-dirs: src
--
-- main-is: Main.hs
--
-- other-extensions: OverloadedStrings
--
-- build-depends: base
-- , p2prc
--
-- default-language: GHC2021
library

View File

@@ -5,13 +5,9 @@ mkDerivation {
pname = "p2prc";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base bytestring directory process text
];
executableHaskellDepends = [ base ];
description = "P2PRC haskell library";
license = "unknown";
mainProgram = "p2prc";
}