mirror of
https://github.com/samueldr/wip-pinebook-pro.git
synced 2024-11-06 02:59:41 +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';
|
|
}
|