From ed0d745ca44afa2ff3520741e5d59425758d1069 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Wed, 29 Mar 2023 13:44:02 -0700 Subject: [PATCH] kgpe: add missing `mkdir` and path component --- src/platform/kgpe/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/platform/kgpe/default.nix b/src/platform/kgpe/default.nix index 31b27d6..e7768cc 100644 --- a/src/platform/kgpe/default.nix +++ b/src/platform/kgpe/default.nix @@ -20,8 +20,9 @@ in userspace = prev.userspace.overrideAttrs (a: { postInstall = (a.postInstall or "") + '' - cp ${final.coreboot.src}/mainboard/asus/kgpe-d16/cmos.layout $out/etc/ - cp ${final.coreboot.src}/mainboard/asus/kgpe-d16/cmos.default $out/etc/ + mkdir -p $out/etc + cp ${final.coreboot.src}/src/mainboard/asus/kgpe-d16/cmos.layout $out/etc/ + cp ${final.coreboot.src}/src/mainboard/asus/kgpe-d16/cmos.default $out/etc/ ''; });