removed executable from haskell project
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
8
flake.lock
generated
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user