Skip to content

Instantly share code, notes, and snippets.

@mmilata
Last active May 31, 2020 18:40
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 mmilata/134ce8ade60be4fba61ae860f1605356 to your computer and use it in GitHub Desktop.
Save mmilata/134ce8ade60be4fba61ae860f1605356 to your computer and use it in GitHub Desktop.
...
nixpkgs.overlays = [
(import openocd-master-overlay.nix)
];
...
self: super:
{
openocd-master = super.openocd.overrideAttrs (attrs: {
pname = "openocd-unstable";
version = "2020-05-31";
src = self.fetchgit {
url = "https://git.code.sf.net/p/openocd/code";
rev = "d8ac0086f957fabf63d596a3b8d396b110bc696d";
sha256 = "0rc3f2q204f1sj75i8fqnqcnkjvagr6bdnxip2dr11ngr0xnbww2";
fetchSubmodules = true;
};
patches = [];
nativeBuildInputs = attrs.nativeBuildInputs ++ [ self.autoreconfHook ];
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment