NixOS / nixos-hardware

A collection of NixOS modules covering hardware quirks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Config build fails due to boot.initrd.extraFiles “permission denied”

afreakk opened this issue · comments

commented

This error:

       > mkdir: cannot create directory 'root/lib/firmware/edid': Permission denied
       For full logs, run 'nix log /nix/store/bbrs8l9hz8gac3y63pkrs8wywq41cr54-initrd-linux-6.6.4.drv

Now happens because of this line

boot.initrd.extraFiles."lib/firmware/edid/16ach6h.bin".source = pkgs.runCommandLocal "chip_edid" { } "cp ${./16ach6h.bin} $out";

After maybe this commit NixOS/nixpkgs@d9105c2

I couldnt see that this issue was posted here.
More context here:
https://discourse.nixos.org/t/config-build-fails-due-to-boot-initrd-extrafiles-permission-denied/35976