fixing environment

This commit is contained in:
2025-05-26 21:08:11 +01:00
parent 6446681719
commit 403ad72ddb
6 changed files with 30 additions and 23 deletions

View File

@@ -97,12 +97,12 @@
},
"locked": {
"lastModified": 0,
"narHash": "sha256-bQH3tqwK4eSRrJckF8wHfulBa4c5lcOIcCOiyDGUx2U=",
"path": "../../",
"narHash": "sha256-5qbaxawuLsg8iu9076zlAbLtTFSNJaTz7WERS5rWRxU=",
"path": "/nix/store/lg694r23fzc6v5ai3qqcszq1fp44djg2-source",
"type": "path"
},
"original": {
"path": "../../",
"path": "/nix/store/lg694r23fzc6v5ai3qqcszq1fp44djg2-source",
"type": "path"
}
},

View File

@@ -2,7 +2,7 @@
description = "Nix flake for P2PRC Haskell library";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
p2prc-main.url = "path:../../";
p2prc-main.url = "../../";
};
outputs = { nixpkgs, flake-utils, p2prc-main, ... }:

View File

@@ -116,5 +116,5 @@ eitherErrorDecode esa =
-- assumes the program is ran inside the haskell module in p2prc's repo
-- assumes that last path segment is "haskell" and that p2prc binary's name is "p2p-rendering-computation"
p2prcCmdName :: String
p2prcCmdName = "p2prc"
p2prcCmdName = "p2p-rendering-computation"

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