luaPackages.lux-lua: run xtask dist in buildPhase

This commit is contained in:
Marc Jakobi 2025-08-16 04:23:20 +02:00
parent a515480873
commit 8548e0d0f3
No known key found for this signature in database
GPG Key ID: A62702B226DB0A22

View File

@ -56,8 +56,11 @@ rustPlatform.buildRustPackage rec {
LUX_SKIP_IMPURE_TESTS = 1; # Disable impure unit tests LUX_SKIP_IMPURE_TESTS = 1; # Disable impure unit tests
}; };
postBuild = '' buildPhase = ''
runHook preBuild
cargo xtask-${luaFeature} dist cargo xtask-${luaFeature} dist
mkdir -p $out
runHook postBuild
''; '';
installPhase = '' installPhase = ''