Skip to content

Instantly share code, notes, and snippets.

@tristanpemble
Last active September 9, 2019 04:57
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 tristanpemble/804201f3873068d42a6f4b9dad70e868 to your computer and use it in GitHub Desktop.
Save tristanpemble/804201f3873068d42a6f4b9dad70e868 to your computer and use it in GitHub Desktop.
self: super:
let
lndir = super.xorg.lndir;
godot_voxel = super.fetchFromGitHub {
owner = "Zylann";
repo = "godot_voxel";
rev = "fec6e624f6682733d3a47fa4270c07ab253d0547";
sha256 = "04974b078q0k7i19fsv4g31ymhsxpqjgh08n4ghwf1ilk4bcq3ih";
};
in {
godot = super.godot.overrideAttrs (attrs: rec {
buildInputs = attrs.buildInputs ++ [ lndir ];
prePatch = ''
mkdir -p $out $out/modules/voxel
${lndir}/bin/lndir -silent ${godot_voxel} $out/modules/voxel
'';
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment