raspberrypiWirelessFirmware: run pre/post hooks in installPhase
This commit is contained in:
parent
171fc534a7
commit
852454a96c
|
@ -28,6 +28,7 @@ stdenv.mkDerivation {
|
|||
dontFixup = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p "$out/lib/firmware/brcm"
|
||||
|
||||
# Wifi firmware
|
||||
|
@ -37,6 +38,7 @@ stdenv.mkDerivation {
|
|||
|
||||
# Bluetooth firmware
|
||||
cp bluez-firmware/broadcom/*.hcd "$out/lib/firmware/brcm"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
outputHashMode = "recursive";
|
||||
|
|
Loading…
Reference in a new issue