Skip to content

Instantly share code, notes, and snippets.

@Mic92
Created December 21, 2018 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mic92/f96e680972001cc864bd900e7785f838 to your computer and use it in GitHub Desktop.
Save Mic92/f96e680972001cc864bd900e7785f838 to your computer and use it in GitHub Desktop.
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