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

6
flake.lock generated
View File

@@ -43,11 +43,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1748026106,
"narHash": "sha256-6m1Y3/4pVw1RWTsrkAK2VMYSzG4MMIj7sqUy7o8th1o=",
"lastModified": 1748190013,
"narHash": "sha256-R5HJFflOfsP5FBtk+zE8FpL8uqE7n62jqOsADvVshhE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "063f43f2dbdef86376cc29ad646c45c46e93234c",
"rev": "62b852f6c6742134ade1abdd2a21685fd617a291",
"type": "github"
},
"original": {

View File

@@ -31,7 +31,7 @@
});
in
{
overlays.default = bindingsOverlay;
# overlays.default = bindingsOverlay;
}
//
(flake-utils.lib.eachDefaultSystem (
@@ -69,6 +69,13 @@
];
};
overlays = {
default = [
bindingsOverlay
coreOverlay
];
};
}
));
}