mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
grub2: Patch out GCC reference from modinfo.sh
This commit is contained in:
parent
fab7d6ea69
commit
464350aa01
1 changed files with 3 additions and 0 deletions
|
@ -98,6 +98,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postInstall = ''
|
||||
paxmark pms $out/sbin/grub-{probe,bios-setup}
|
||||
|
||||
# Avoid a runtime reference to gcc
|
||||
sed -i $out/lib/grub/*/modinfo.sh -e "/grub_target_cppflags=/ s|'.*'|' '|"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue