From 680e1478c998f6b9337036b6e1cca8d80970c10f Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 1 Jun 2024 08:58:33 -0700 Subject: [PATCH] Import lispSourceRegistry --- flake.nix | 3 ++- module.nix | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index a92d0d2..2618875 100644 --- a/flake.nix +++ b/flake.nix @@ -25,7 +25,8 @@ }; }) // { nixosModules = rec { - cl-gemini = import ./module.nix; + cl-gemini = + import ./module.nix { inherit (lisp-repo.lib) lispSourceRegistry; }; default = cl-gemini; }; }; diff --git a/module.nix b/module.nix index e779940..fe1baf6 100644 --- a/module.nix +++ b/module.nix @@ -1,4 +1,4 @@ -{ lisp-repo }: +{ lispSourceRegistry }: { config, lib, pkgs, ... }: @@ -6,8 +6,6 @@ with lib; let cfg = config.informis.cl-gemini; - inherit (lisp-repo.lib) lispSourceRegistry; - feedOpts = { ... }: { options = with types; { url = mkOption {