-
-
Save betawaffle/59cf0e335d7a618ba7295736619cbba8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with (import <nixpkgs> {}); | |
stdenv.mkDerivation rec { | |
pname = "coreboot-pce-apu2"; | |
version = "4.11.0.1"; | |
src = fetchFromGitHub { | |
name = "coreboot"; | |
owner = "pcengines"; | |
repo = "coreboot"; | |
rev = "v${version}"; | |
fetchSubmodules = true; | |
sha256 = "1fgri5gslzb8xkmj9lwv8mirccvlzznvrglkv9wcjqm740h6k09h"; | |
}; | |
configurePhase = '' | |
cp configs/config.pcengines_apu2 .config | |
make olddefconfig | |
''; | |
installPhase = '' | |
cp build/coreboot.rom $out/coreboot.rom | |
''; | |
# Is this necessary, or is the generic fixup safe to do? | |
dontFixup = true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment