feat(legacy): rename legacy -> dream2nix-legacy

This commit is contained in:
DavHau 2023-03-26 18:04:22 +08:00
parent 18d8a016fa
commit f96eb79476
4 changed files with 4 additions and 5 deletions

View File

@ -8,7 +8,7 @@
}: let
l = lib // builtins;
cfg = config.legacy;
cfg = config.dream2nix-legacy;
pkgs = drv-parts.inputs.nixpkgs.legacyPackages.x86_64-linux;
@ -139,7 +139,6 @@
(defaultSourceOverride dreamLock)
(cfg.sourceOverrides oldSources);
packageOverrides =
l.trace dreamOverrides.nodejs
l.recursiveUpdate
(dreamOverrides."${dreamLock._generic.subsystem}" or {})
(cfg.packageOverrides or {});

View File

@ -6,7 +6,7 @@
l = lib // builtins;
t = l.types;
in {
options.legacy = {
options.dream2nix-legacy = {
builder = l.mkOption {
description = "Builder to use";
example = ["build-rust-package"];

View File

@ -11,7 +11,7 @@ in {
../../drv-parts/dream2nix-legacy
];
legacy = {
dream2nix-legacy = {
subsystem = "nodejs";
translator = "yarn-lock";
builder = "granular-nodejs";

View File

@ -11,7 +11,7 @@ in {
../../drv-parts/dream2nix-legacy
];
legacy = {
dream2nix-legacy = {
subsystem = "rust";
translator = "cargo-lock";
builder = "build-rust-package";