tpwrules / nixos-apple-silicon

Resources to install NixOS bare metal on Apple Silicon Macs
MIT License
757 stars 76 forks source link

peripheral-firmware: Allow using pkgs.requireFile #49

Closed dasJ closed 1 year ago

dasJ commented 1 year ago

I think this is correct. This fixes the issue where pkgs.requireFile cannot be used for the firmware directory. The root cause is that ./ + does not work for store paths

tpwrules commented 1 year ago

Seems to work properly with firmware on the ESP.

I don't know how stable the hash is of these files or when they might be upgraded but if pkgs.requireFile works in your case then that's good.

oati commented 1 year ago

(sorry, I meant to post this much earlier. I didn't realize that I hadn't pressed "submit.")