mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-22 06:32:21 +03:00
feat(legacy): rename legacy -> dream2nix-legacy
This commit is contained in:
parent
18d8a016fa
commit
f96eb79476
@ -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 {});
|
||||
|
@ -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"];
|
||||
|
@ -11,7 +11,7 @@ in {
|
||||
../../drv-parts/dream2nix-legacy
|
||||
];
|
||||
|
||||
legacy = {
|
||||
dream2nix-legacy = {
|
||||
subsystem = "nodejs";
|
||||
translator = "yarn-lock";
|
||||
builder = "granular-nodejs";
|
||||
|
@ -11,7 +11,7 @@ in {
|
||||
../../drv-parts/dream2nix-legacy
|
||||
];
|
||||
|
||||
legacy = {
|
||||
dream2nix-legacy = {
|
||||
subsystem = "rust";
|
||||
translator = "cargo-lock";
|
||||
builder = "build-rust-package";
|
||||
|
Loading…
Reference in New Issue
Block a user