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": { "locked": {
"lastModified": 0, "lastModified": 0,
"narHash": "sha256-bQH3tqwK4eSRrJckF8wHfulBa4c5lcOIcCOiyDGUx2U=", "narHash": "sha256-5qbaxawuLsg8iu9076zlAbLtTFSNJaTz7WERS5rWRxU=",
"path": "../../", "path": "/nix/store/lg694r23fzc6v5ai3qqcszq1fp44djg2-source",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "../../", "path": "/nix/store/lg694r23fzc6v5ai3qqcszq1fp44djg2-source",
"type": "path" "type": "path"
} }
}, },

View File

@@ -2,7 +2,7 @@
description = "Nix flake for P2PRC Haskell library"; description = "Nix flake for P2PRC Haskell library";
inputs = { inputs = {
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
p2prc-main.url = "path:../../"; p2prc-main.url = "../../";
}; };
outputs = { nixpkgs, flake-utils, p2prc-main, ... }: 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 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" -- assumes that last path segment is "haskell" and that p2prc binary's name is "p2p-rendering-computation"
p2prcCmdName :: String p2prcCmdName :: String
p2prcCmdName = "p2prc" p2prcCmdName = "p2p-rendering-computation"

View File

@@ -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

6
flake.lock generated
View File

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

View File

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