mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-15 11:03:37 +03:00
19 lines
375 B
Nix
19 lines
375 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)
|
|
];
|
|
}
|