mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-16 20:21:32 +03:00
google-walleye: Pass postPatch as argument rather than override
This commit is contained in:
parent
302ffc43ee
commit
4443108073
@ -31,9 +31,8 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
isModular = false;
|
isModular = false;
|
||||||
}).overrideAttrs({ postInstall ? "", postPatch ? "", nativeBuildInputs, ... }: {
|
|
||||||
installTargets = [ "zinstall" "Image.gz-dtb" "install" ];
|
postPatch = ''
|
||||||
postPatch = postPatch + ''
|
|
||||||
# FIXME : factor out
|
# FIXME : factor out
|
||||||
(
|
(
|
||||||
# Remove -Werror from all makefiles
|
# Remove -Werror from all makefiles
|
||||||
@ -47,6 +46,9 @@ in
|
|||||||
done
|
done
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
}).overrideAttrs({ postInstall ? "", nativeBuildInputs, ... }: {
|
||||||
|
installTargets = [ "zinstall" "Image.gz-dtb" "install" ];
|
||||||
|
|
||||||
nativeBuildInputs = nativeBuildInputs ++ [ dtc ];
|
nativeBuildInputs = nativeBuildInputs ++ [ dtc ];
|
||||||
|
|
||||||
postInstall = postInstall + ''
|
postInstall = postInstall + ''
|
||||||
|
Loading…
Reference in New Issue
Block a user