flake.nix: remove commented material, add some more comments where needed

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
Thierry Laurion 2024-05-30 17:05:29 -04:00
parent c7d1495a0a
commit edd4378b60
No known key found for this signature in database
GPG Key ID: 9A53E1BB3FF00461

View File

@ -41,24 +41,24 @@
flex flex
gawk gawk
git git
gnat gnat # required for libgfxinit under coreboot, hacked around for kgpe-d16
gnugrep gnugrep
gnumake gnumake
gnused gnused
gnutar gnutar
gzip gzip
imagemagick # For bootsplash manipulation. imagemagick # For bootsplash manipulation
innoextract # ROM extraction for dGPU. innoextract # ROM extraction for dGPU
libtool libtool
m4 m4
ncurses5 # make menuconfig and slang ncurses5 # make menuconfig and slang
openssl #needed for talos-2 kernel build openssl # needed for talos-2 kernel build
parted parted
patch patch
perl perl
pkg-config pkg-config
python3 # me_cleaner, coreboot. python3 # me_cleaner, coreboot
rsync # coreboot. rsync # coreboot
sharutils sharutils
texinfo texinfo
unzip unzip
@ -69,23 +69,14 @@
zlib zlib
zlib.dev zlib.dev
] ++ [ ] ++ [
# Below are overrides to make canokey-qemu library available to qemu built derivative through a qemu override, which qemu is used for other derivatives qemu_full #Heavier then qemu + qemu_kvm, but contains qemu-img + kvm and everything else needed to do development/testing cycles under docker
#canokey-qemu # Canokey lib for qemu build-time compilation.
#(qemu.override {
# canokeySupport = true; # This override enables Canokey support in QEMU, resulting in -device canokey being available.
#})
# Packages for qemu support with Canokey integration from previous override
qemu_full #Heavier but contains qemu-img, kvm and everything else needed to do development/testing cycles under docker
#qemu # To test make BOARD=qemu-coreboot-* boards and then call make BOARD=qemu-coreboot-* with inject_gpg statement, and then run statement.
#qemu_kvm # kvm additional support for qemu without all the qemu-img and everything else under qemu_full
] ++ [ ] ++ [
# Additional tools for debugging/editing/testing. # Additional tools for debugging/editing/testing
vim # Mostly used amongst us, sorry if you'd like something else, open issue. vim # Mostly used amongst us, sorry if you'd like something else, open issue
swtpm # QEMU requirement to emulate tpm1/tpm2. swtpm # QEMU requirement to emulate tpm1/tpm2
dosfstools # QEMU requirement to produce valid fs to store exported public key to be fused through inject_key on qemu (so qemu flashrom emulated SPI support). dosfstools # QEMU requirement to produce valid fs to store exported public key to be fused through inject_key on qemu (so qemu flashrom emulated SPI support).
diffoscopeMinimal # Not sure exactly what is packed here, let's try. diffoscopeMinimal # Not sure exactly what is packed here, let's try. Might need diffoscope if something is missing
gnupg #to inject public key inside of qemu create rom through inject_gpg target of targets/qemu.mk TODO: remove when pflash supported by flashrom gnupg #to inject public key inside of qemu create rom through inject_gpg target of targets/qemu.mk TODO: remove when pflash supported by flashrom + modify code
#diffoscope #should we include it? Massive:11 GB uncompressed. Wow?!?!
less # so 'git log' is usable less # so 'git log' is usable
] ++ [ ] ++ [
# Tools for handling binary blobs in their compressed state. (blobs/xx30/vbios_[tw]530.sh) # Tools for handling binary blobs in their compressed state. (blobs/xx30/vbios_[tw]530.sh)