1
0
Fork 0
mirror of https://github.com/samueldr/wip-pinebook-pro.git synced 2024-11-30 14:59:44 +01:00
wip-pinebook-pro/default.nix

18 lines
237 B
Nix
Raw Normal View History

2019-11-14 23:40:51 +01:00
{
2020-07-14 21:34:40 +02:00
pkgs ? import <nixpkgs> {
2020-01-06 21:21:02 +01:00
overlays = [
(import ./overlay.nix)
];
}
2019-11-14 23:40:51 +01:00
}:
let
2020-01-06 21:21:02 +01:00
pkgs' = if builtins.currentSystem == "aarch64-linux"
then pkgs
else pkgs.pkgsCross.aarch64-multiplatform
;
2019-11-14 23:40:51 +01:00
in
{
2020-01-06 21:21:02 +01:00
pkgs = pkgs';
2019-11-14 23:40:51 +01:00
}