Skip to content

Instantly share code, notes, and snippets.

@MagnificentPako
Created March 26, 2018 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save MagnificentPako/f44a31bce2261632dac112d9257b8e27 to your computer and use it in GitHub Desktop.
Save MagnificentPako/f44a31bce2261632dac112d9257b8e27 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "emojicode-0.6";
src = fetchFromGitHub {
owner = "emojicode";
repo = "emojicode";
sha256 = "0v5r481xhjc3kdk9a49yi9lqnd6gxq5iws4d65dcx43mw3wz38sj";
rev = "5d655df6b7f7ffa13c4addfc140ef83d695381ca";
};
buildInput = [ cmake ninja clang ];
installPhase = ''
mkdir build
cd build
cmake .. -GNinja
ninja
ls -ltrh
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment