Created
December 21, 2018 16:46
-
-
Save Mic92/f96e680972001cc864bd900e7785f838 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
grub2 = pkgs.grub2.overrideAttrs (attr: { | |
src = pkgs.fetchgit { | |
url = "https://git.savannah.gnu.org/git/grub.git"; | |
rev = "a791dc0e3501e2932321a257564a3f27a50673bf"; | |
sha256 = "04ssz35fxnzpd3dr2i1c0x1w2nk06lwpvmgsrhwsw8fms3cx6y7m"; | |
}; | |
nativeBuildInputs = attr.nativeBuildInputs ++ [ | |
pkgs.autoconf | |
pkgs.automake | |
]; | |
prePatch = '' | |
# postPatch touches configure | |
${pkgs.stdenv.shell} ./autogen.sh | |
''; | |
# already applied upstream | |
patches = []; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment