mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-11-28 12:56:54 +03:00
boot.img: fixes for cross.
This commit is contained in:
parent
75465eaddb
commit
989248df12
@ -4,8 +4,8 @@
|
||||
}:
|
||||
let
|
||||
pkgs = (import ../overlay);
|
||||
inherit (pkgs) buildPackages;
|
||||
in
|
||||
with pkgs;
|
||||
let
|
||||
device_name = device_config.name;
|
||||
device_info = device_config.info;
|
||||
@ -16,15 +16,18 @@ let
|
||||
# TODO : Allow appending / prepending
|
||||
cmdline = device_info.kernel_cmdline;
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "nixos-mobile_${device_name}_boot.img";
|
||||
|
||||
src = builtins.filterSource (path: type: false) ./.;
|
||||
unpackPhase = "true";
|
||||
|
||||
nativeBuildInputs = [
|
||||
buildPackages.mkbootimg
|
||||
buildPackages.dtbTool
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
mkbootimg
|
||||
dtbTool
|
||||
linux
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user