mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-24 06:52:09 +03:00
lib2: enable packageOverrides
This commit is contained in:
parent
6d4b62be79
commit
f8f37dd50e
@ -622,6 +622,7 @@ let
|
||||
pname ? null,
|
||||
source ? null,
|
||||
|
||||
packageOverrides ? {},
|
||||
settings ? [],
|
||||
}:
|
||||
let
|
||||
@ -644,7 +645,7 @@ let
|
||||
projectOutputs =
|
||||
l.map
|
||||
(dreamLock: makeOutputsForDreamLock rec {
|
||||
inherit dreamLock;
|
||||
inherit dreamLock packageOverrides;
|
||||
sourceOverrides = oldSources:
|
||||
(defaultSourceOverride dreamLock);
|
||||
})
|
||||
|
@ -108,6 +108,7 @@ let
|
||||
{
|
||||
pname ? throw "Please pass `pname` to makeFlakeOutputs",
|
||||
pkgs ? null,
|
||||
packageOverrides ? {},
|
||||
settings ? [],
|
||||
source,
|
||||
systems ? [],
|
||||
@ -118,7 +119,6 @@ let
|
||||
let
|
||||
|
||||
config = args.config or ((import ./utils/config.nix).loadConfig {});
|
||||
argsForward = b.removeAttrs args [ "config" "pname" "pkgs" "systems" ];
|
||||
allPkgs = makeNixpkgs pkgs systems;
|
||||
forAllSystems = f: b.mapAttrs f allPkgs;
|
||||
dream2nixFor = forAllSystems (dream2nixForSystem config);
|
||||
@ -138,7 +138,7 @@ let
|
||||
};
|
||||
in
|
||||
dream2nix.realizeProjects {
|
||||
inherit dreamLocks source;
|
||||
inherit dreamLocks packageOverrides source;
|
||||
})
|
||||
allPkgs;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user