diff --git a/modules/dream2nix/nodejs-granular-v3/default.nix b/modules/dream2nix/nodejs-granular-v3/default.nix index 85a0d125..8d19ba8b 100644 --- a/modules/dream2nix/nodejs-granular-v3/default.nix +++ b/modules/dream2nix/nodejs-granular-v3/default.nix @@ -6,7 +6,7 @@ }: let l = lib // builtins; - cfg = config.nodejs-granular; + cfg = config.nodejs-granular-v3; extractSource = import ../../flake-parts/lib/internal/fetchers/extractSource.nix { inherit lib; @@ -96,7 +96,7 @@ depsModule = name: version: {config, ...}: { name = lib.replaceStrings ["@" "/"] ["__at__" "__slash__"] name; inherit version; - nodejs-granular = { + nodejs-granular-v3 = { # only run build on the main package runBuild = l.mkOptionDefault false; }; @@ -213,7 +213,7 @@ ; inherit - (config.nodejs-granular) + (config.nodejs-granular-v3) buildScript installMethod runBuild @@ -277,7 +277,7 @@ linkBins = "${./link-bins.py}"; }; - nodejs-granular = { + nodejs-granular-v3 = { /* For top-level packages install dependencies as full copies, as this reduces errors with build tooling that doesn't cope well with @@ -314,7 +314,7 @@ in { pkg = config.public; }; }; - nodejs-granular = { + nodejs-granular-v3 = { deps = nodejsDeps; runBuild = l.mkDefault true; installMethod = l.mkDefault "copy"; diff --git a/modules/dream2nix/nodejs-granular-v3/interface.nix b/modules/dream2nix/nodejs-granular-v3/interface.nix index 4e9dcc51..bbd27392 100644 --- a/modules/dream2nix/nodejs-granular-v3/interface.nix +++ b/modules/dream2nix/nodejs-granular-v3/interface.nix @@ -8,7 +8,7 @@ l = lib // builtins; t = l.types; in { - options.nodejs-granular = l.mapAttrs (_: l.mkOption) { + options.nodejs-granular-v3 = l.mapAttrs (_: l.mkOption) { buildScript = { type = t.nullOr (t.oneOf [t.str t.path t.package]); description = ''