-
-
Save tristanpemble/804201f3873068d42a6f4b9dad70e868 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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