1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 21:11:34 +03:00
mobile-nixos/overlay/default.nix
2018-06-26 20:49:15 -04:00

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)
];
}