Skip to content

Commit

Permalink
Fix pkgs not defined in nixOnDroidConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Jan 5, 2025
1 parent 1b21c45 commit 5d39aea
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions lib/builders/mkNixOnDroid.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,22 @@
...
}:

let

nodPkgs = import inputs.nixpkgs {
inherit (pkgs) system;
overlays = [ inputs.nix-on-droid.overlays.default ] + pkgs.overlays;
};

in

inputs.nix-on-droid.lib.nixOnDroidConfiguration {

pkgs = nodPkgs;

extraSpecialArgs = {
inherit homeModules inputs pkgs;
inherit homeModules inputs;
pkgs = nodPkgs;
};

modules = [
Expand All @@ -25,7 +37,7 @@ inputs.nix-on-droid.lib.nixOnDroidConfiguration {
lib.custom = customLib;

nixpkgs = {
inherit pkgs;
pkgs = nodPkgs;
};
}
] ++ customLib.getRecursiveDefaultNixFileList ../../nix-on-droid;
Expand Down

0 comments on commit 5d39aea

Please sign in to comment.