Skip to content

Instantly share code, notes, and snippets.

@yorickvP
Last active May 21, 2020 12:19
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 yorickvP/2cc5d9b42837c1ce83b18de9ac6e969a to your computer and use it in GitHub Desktop.
Save yorickvP/2cc5d9b42837c1ce83b18de9ac6e969a to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> { }, stdenv ? pkgs.stdenv, love_0_7 ? pkgs.love_0_7 }:
let
name = "nottetris2";
src = pkgs.fetchzip {
url = "http://stabyourself.net/dl.php?file=${name}/${name}-linux.zip";
sha256 = "1zwwp4h1njwl3jnwkszcsqx868v16312pbfy5rp9h48ym79spd36";
stripRoot = false;
};
in pkgs.writeShellScriptBin name ''
exec ${love_0_7}/bin/love "${src}/Not Tetris 2.love"
''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment