mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-03 14:03:10 +00:00
fix circompat impure errors
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
6aca7612e5
commit
28c4884fab
@ -33,6 +33,7 @@
|
||||
nixosModules.nim-codex = { config, lib, pkgs, ... }: import ./nix/service.nix {
|
||||
inherit config lib pkgs;
|
||||
self = pkgs.lib.traceValFn (v: "submodules: ${toString v.submodules)}") self;
|
||||
circomCompatPkg = circom-compat.packages.${pkgs.system}.default;
|
||||
};
|
||||
|
||||
devShells = forAllSystems (system: let
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
{ self, config, lib, pkgs, ... }:
|
||||
{ self, config, lib, pkgs, circomCompatPkg, ... }:
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
types mkEnableOption mkOption mkIf literalExpression
|
||||
mdDoc;
|
||||
|
||||
|
||||
toml = pkgs.formats.toml { };
|
||||
|
||||
cfg = config.services.nim-codex;
|
||||
@ -16,7 +16,7 @@ in
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.callPackage ./default.nix { src = self; };
|
||||
default = pkgs.callPackage ./default.nix { src = self; inherit circomCompatPkg; };
|
||||
defaultText = literalExpression "pkgs.codex";
|
||||
description = mdDoc "Package to use as Nim Codex node.";
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user