diff options
Diffstat (limited to 'humblebundle/megabytepunch.nix')
-rw-r--r-- | humblebundle/megabytepunch.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/humblebundle/megabytepunch.nix b/humblebundle/megabytepunch.nix new file mode 100644 index 00000000..643e5835 --- /dev/null +++ b/humblebundle/megabytepunch.nix @@ -0,0 +1,18 @@ +{ stdenv, fetchHumbleBundle }: + +stdenv.mkDerivation rec { + name = "megabytepunch-${version}"; + version = "1.12"; + + src = fetchHumbleBundle { + machineName = "megabytepunch_linux"; + suffix = "tar.gz"; + md5 = "13487ae35c99817ce5f19b45fa51158b"; + }; + + patchPhase = '' + patchelf \ + --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \ + + ''; +} |