Skip to content

Instantly share code, notes, and snippets.

@lilyball
Last active November 22, 2019 21:31
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 lilyball/419a53954dbbd3887475b0223bcce816 to your computer and use it in GitHub Desktop.
Save lilyball/419a53954dbbd3887475b0223bcce816 to your computer and use it in GitHub Desktop.
self: super:
{
zalgo =
# make sure we aren't overwriting a package from nixpkgs
assert !super?zalgo;
self.stdenv.mkDerivation {
name = "zalgo";
src = self.fetchFromGitHub {
owner = "lunasorcery";
repo = "zalgo";
rev = "2dc5a121af76474c79c829acfaa119a8131994dd";
sha256 = "02z9lc9yb2cbig5l30w6j5wy1z6jz47cj65pr5f8sn7ganwnmklw";
};
installPhase = ''
mkdir -p $out/bin
cp zalgo $out/bin/zalgo
'';
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment