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";
}

8
flake.lock generated
View File

@@ -43,11 +43,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1747542820,
"narHash": "sha256-GaOZntlJ6gPPbbkTLjbd8BMWaDYafhuuYRNrxCGnPJw=",
"lastModified": 1748026106,
"narHash": "sha256-6m1Y3/4pVw1RWTsrkAK2VMYSzG4MMIj7sqUy7o8th1o=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "292fa7d4f6519c074f0a50394dbbe69859bb6043",
"rev": "063f43f2dbdef86376cc29ad646c45c46e93234c",
"type": "github"
},
"original": {
@@ -68,7 +68,7 @@
},
"locked": {
"lastModified": 1,
"narHash": "sha256-6V4bXwaigsd4mcWfyAzYJ2Cuhj8RDuD/N/Y8d2Z8XZM=",
"narHash": "sha256-rg64vJj97NRXMCphUrZ1FlMZPQU0OtW9C9vZrA/kpKw=",
"path": "./Bindings/Haskell",
"type": "path"
},