mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-16 11:43:21 +03:00
motorola-addison: Pass postPatch as argument rather than override
This commit is contained in:
parent
32381fdc9c
commit
302ffc43ee
@ -45,9 +45,7 @@ in
|
||||
|
||||
isModular = false;
|
||||
|
||||
}).overrideAttrs({ postInstall ? "", postPatch ? "", ... }: {
|
||||
installTargets = [ "zinstall" "dtbs" ];
|
||||
postPatch = postPatch + ''
|
||||
postPatch = ''
|
||||
cp -v "${./compiler-gcc6.h}" "./include/linux/compiler-gcc6.h"
|
||||
|
||||
# FIXME : factor out
|
||||
@ -63,6 +61,8 @@ in
|
||||
done
|
||||
)
|
||||
'';
|
||||
}).overrideAttrs({ postInstall ? "", ... }: {
|
||||
installTargets = [ "zinstall" "dtbs" ];
|
||||
postInstall = postInstall + ''
|
||||
mkdir -p "$out/dtbs/"
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user