removed executable from haskell project
This commit is contained in:
@@ -27,20 +27,20 @@ extra-doc-files: README.md
|
|||||||
common warnings
|
common warnings
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
|
|
||||||
executable p2prc
|
-- executable p2prc
|
||||||
|
--
|
||||||
import: warnings
|
-- import: warnings
|
||||||
|
--
|
||||||
hs-source-dirs: src
|
-- hs-source-dirs: src
|
||||||
|
--
|
||||||
main-is: Main.hs
|
-- main-is: Main.hs
|
||||||
|
--
|
||||||
other-extensions: OverloadedStrings
|
-- other-extensions: OverloadedStrings
|
||||||
|
--
|
||||||
build-depends: base
|
-- build-depends: base
|
||||||
, p2prc
|
-- , p2prc
|
||||||
|
--
|
||||||
default-language: GHC2021
|
-- default-language: GHC2021
|
||||||
|
|
||||||
library
|
library
|
||||||
|
|
||||||
|
|||||||
@@ -5,13 +5,9 @@ mkDerivation {
|
|||||||
pname = "p2prc";
|
pname = "p2prc";
|
||||||
version = "0.1.0.0";
|
version = "0.1.0.0";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
isLibrary = true;
|
|
||||||
isExecutable = true;
|
|
||||||
libraryHaskellDepends = [
|
libraryHaskellDepends = [
|
||||||
aeson base bytestring directory process text
|
aeson base bytestring directory process text
|
||||||
];
|
];
|
||||||
executableHaskellDepends = [ base ];
|
|
||||||
description = "P2PRC haskell library";
|
description = "P2PRC haskell library";
|
||||||
license = "unknown";
|
license = "unknown";
|
||||||
mainProgram = "p2prc";
|
|
||||||
}
|
}
|
||||||
|
|||||||
8
flake.lock
generated
8
flake.lock
generated
@@ -43,11 +43,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747542820,
|
"lastModified": 1748026106,
|
||||||
"narHash": "sha256-GaOZntlJ6gPPbbkTLjbd8BMWaDYafhuuYRNrxCGnPJw=",
|
"narHash": "sha256-6m1Y3/4pVw1RWTsrkAK2VMYSzG4MMIj7sqUy7o8th1o=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "292fa7d4f6519c074f0a50394dbbe69859bb6043",
|
"rev": "063f43f2dbdef86376cc29ad646c45c46e93234c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-6V4bXwaigsd4mcWfyAzYJ2Cuhj8RDuD/N/Y8d2Z8XZM=",
|
"narHash": "sha256-rg64vJj97NRXMCphUrZ1FlMZPQU0OtW9C9vZrA/kpKw=",
|
||||||
"path": "./Bindings/Haskell",
|
"path": "./Bindings/Haskell",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user