Conversation
|
@GrahamcOfBorg eval |
|
@GrahamcOfBorg build ectool |
There was a problem hiding this comment.
I don't have anything to test this with, and I'm not familiar with coreboot... but LGTM 👍
@worldofpeace anything to add? It is @petabyteboy (read: quality 😄 ), so a merge is in order...?
EDIT: Somehow I did not notice arch64 failure... 😞 @petabyteboy want to take a look?
pkgs/tools/misc/ectool/default.nix
Outdated
There was a problem hiding this comment.
How about?
makeFlags = [
"PREFIX=${placeholder "out"}"
"INSTALL=install"
];
preBuild = ''
cd util/ectool
'';
Then I think you can drop the custom installPhase, though upstream should really be using DESTDIR too
https://github.com/coreboot/coreboot/blob/master/util/ectool/Makefile#L38
There was a problem hiding this comment.
I would like to stick to the pattern used in all other coreboot util packages for now, and refactor or merge them later.
I think the error, typically means something needs porting. Didn't look at the source though. |
pkgs/tools/misc/ectool/default.nix
Outdated
There was a problem hiding this comment.
If in the future another package is added for coreboot utils, it would probably be best if there was a package that was just all of them.
There was a problem hiding this comment.
Very valid point, I will look into it in the future.
|
From https://bugzilla.redhat.com/show_bug.cgi?id=1116162: So either way this has do be done in upstream glibc or coreboot. |
|
I will replace this with a PR merging all coreboot util packages into one for easier maintenance in the future. |
|
superseeded by #67836 |
That's great @petabyteboy ✨ |
Motivation for this change
Things done
sandboxinnix.confon non-NixOS)nix-shell -p nix-review --run "nix-review wip"./result/bin/)nix path-info -Sbefore and after)Notify maintainers
cc @