asus-x018d: Pass postPatch and nativeBuildInputs as argument rather than override
@@ -38,14 +38,15 @@ in
isModular = false;
-}).overrideAttrs({ postInstall ? "", postPatch ? "", nativeBuildInputs ? [], ... }: {
- nativeBuildInputs = nativeBuildInputs ++ [
+ postPatch = ''
+ patchShebangs tools
+ '';
+
+ nativeBuildInputs = [
python2
];
+}).overrideAttrs({ postInstall ? "", ... }: {
installTargets = [ "zinstall" "Image.gz-dtb" "install" ];
- postPatch = postPatch + ''
- patchShebangs tools
- '';
postInstall = postInstall + ''
cp -v "$buildRoot/arch/arm64/boot/Image.gz-dtb" "$out/"
