1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 19:23:01 +03:00
mobile-nixos/overlay/default.nix
2020-02-03 16:19:10 -05:00

20 lines
416 B
Nix

#
# Allows use of the overlay this way:
#
# ```
# $ nix-build ./overlay -A dtbTool
# $ nix-build --arg crossSystem '(import <nixpkgs/lib>).systems.examples.aarch64-multiplatform' ./overlay -A dtbTool
# ```
#
{
nixpkgs ? (fetchTarball channel:nixos-unstable)
, crossSystem ? null
}:
import nixpkgs {
inherit crossSystem;
overlays = [
(import ./overlay.nix)
(import ./mruby-builder/overlay.nix)
];
}