mirror of
https://github.com/samueldr/wip-pinebook-pro.git
synced 2024-11-05 18:49:41 +01:00
15 lines
234 B
Nix
15 lines
234 B
Nix
{
|
|
pkgs' ? import <nixpkgs> {}
|
|
}:
|
|
|
|
let
|
|
pkgs = if builtins.currentSystem == "aarch64-linux"
|
|
then pkgs'
|
|
else pkgs'.pkgsCross.aarch64-multiplatform
|
|
;
|
|
|
|
inherit (pkgs) callPackage;
|
|
in
|
|
{
|
|
u-boot = callPackage ./u-boot {};
|
|
}
|