mirror of
https://github.com/samueldr/wip-pinebook-pro.git
synced 2024-11-23 11:29:43 +01:00
17 lines
273 B
Nix
17 lines
273 B
Nix
{
|
|
pkgs ? import (builtins.fetchTarball "channel:nixos-19.09") {
|
|
overlays = [
|
|
(import ./overlay.nix)
|
|
];
|
|
}
|
|
}:
|
|
|
|
let
|
|
pkgs' = if builtins.currentSystem == "aarch64-linux"
|
|
then pkgs
|
|
else pkgs.pkgsCross.aarch64-multiplatform
|
|
;
|
|
in
|
|
{
|
|
pkgs = pkgs';
|
|
}
|