mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-12-16 22:11:10 +01:00
flake.nix: expose nix-on-droid package in overlay
This commit is contained in:
parent
8bcadcef69
commit
22e3c243c1
1 changed files with 6 additions and 1 deletions
|
|
@ -31,7 +31,12 @@
|
|||
let
|
||||
forEachSystem = nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ];
|
||||
|
||||
overlay = nixpkgs.lib.composeManyExtensions (import ./overlays);
|
||||
overlaySelfPackages = _final: prev: {
|
||||
nix-on-droid = self.packages."${prev.system}".nix-on-droid;
|
||||
};
|
||||
overlay = nixpkgs.lib.composeManyExtensions ((import ./overlays) ++ [
|
||||
overlaySelfPackages
|
||||
]);
|
||||
|
||||
formatterPackArgsFor = forEachSystem (system: {
|
||||
inherit nixpkgs system;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue