dotfiles/nix/overlays/uboot-clara-hd/default.nix
main 1e34631c1a
A lot of very important and unspecific things
Signed-off-by: main <magic_rb@redalder.org>
2022-06-14 19:52:06 +02:00

23 lines
714 B
Nix

final: prev:
{ magic_rb = prev.magic_rb or {} // {
uboot-clara-hd = with prev;
let crossPkgs =
import prev.src
{ crossSystem.config = "arm-linux-gnueabihf";
};
in
stdenv.mkDerivation {
pname = "uboot-clara-hd";
version = "??";
src = fetchFromGitHub
{ owner = "akemnade";
repo = "u-boot-fslc";
rev = "2021.04+fslc";
sha256 = "sha256-P4aT6BX875sSIRLrk6BKfgkdBGRD8UbIINRf6PdG4hA";
};
nativeBuildInputs = [ bison flex crossPkgs.stdenv.cc ];
makeFlags = "ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mx6sllclarahd_defconfig";
};
};
}