1
0
Fork 0
mirror of https://github.com/samueldr/wip-pinebook-pro.git synced 2024-11-18 17:09:42 +01:00
wip-pinebook-pro/default.nix

18 lines
273 B
Nix
Raw Normal View History

2019-11-14 23:40:51 +01:00
{
2020-01-06 21:21:02 +01:00
pkgs ? import (builtins.fetchTarball "channel:nixos-19.09") {
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
}