mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-28 13:11:05 +01:00
Ignore local config.nix and overlays
This commit is contained in:
parent
5d176845bf
commit
4b712be626
1 changed files with 9 additions and 4 deletions
|
|
@ -12,7 +12,12 @@ let
|
||||||
sha256 = "0293j9wib78n5nspywrmd9qkvcqq2vcrclrryxqnaxvj3bs1c0vj";
|
sha256 = "0293j9wib78n5nspywrmd9qkvcqq2vcrclrryxqnaxvj3bs1c0vj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildPkgs = import pinnedPkgs { };
|
defaultNixpkgsArgs = {
|
||||||
|
config = { };
|
||||||
|
overlays = [ ];
|
||||||
|
};
|
||||||
|
|
||||||
|
buildPkgs = import pinnedPkgs defaultNixpkgsArgs;
|
||||||
|
|
||||||
overlayJpegNoStatic = self: super: {
|
overlayJpegNoStatic = self: super: {
|
||||||
inherit (buildPkgs) libjpeg;
|
inherit (buildPkgs) libjpeg;
|
||||||
|
|
@ -29,14 +34,14 @@ in
|
||||||
{
|
{
|
||||||
inherit buildPkgs;
|
inherit buildPkgs;
|
||||||
|
|
||||||
crossPkgs = import pinnedPkgs { inherit crossSystem; };
|
crossPkgs = import pinnedPkgs ({ inherit crossSystem; } // defaultNixpkgsArgs);
|
||||||
|
|
||||||
crossStaticPkgs = import pinnedPkgs {
|
crossStaticPkgs = import pinnedPkgs ({
|
||||||
inherit crossSystem;
|
inherit crossSystem;
|
||||||
|
|
||||||
crossOverlays = [
|
crossOverlays = [
|
||||||
(import "${pinnedPkgs}/pkgs/top-level/static.nix")
|
(import "${pinnedPkgs}/pkgs/top-level/static.nix")
|
||||||
overlayJpegNoStatic
|
overlayJpegNoStatic
|
||||||
];
|
];
|
||||||
};
|
} // defaultNixpkgsArgs);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue