diff --git a/.direnv/bin/nix-direnv-reload b/.direnv/bin/nix-direnv-reload new file mode 100755 index 0000000..ccdd483 --- /dev/null +++ b/.direnv/bin/nix-direnv-reload @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +set -e +if [[ ! -d "/home/ly/Documents/twigModpack-forge" ]]; then + echo "Cannot find source directory; Did you move it?" + echo "(Looking for "/home/ly/Documents/twigModpack-forge")" + echo 'Cannot force reload with this script - use "direnv reload" manually and then try again' + exit 1 +fi + +# rebuild the cache forcefully +_nix_direnv_force_reload=1 direnv exec "/home/ly/Documents/twigModpack-forge" true + +# Update the mtime for .envrc. +# This will cause direnv to reload again - but without re-building. +touch "/home/ly/Documents/twigModpack-forge/.envrc" + +# Also update the timestamp of whatever profile_rc we have. +# This makes sure that we know we are up to date. +touch -r "/home/ly/Documents/twigModpack-forge/.envrc" "/home/ly/Documents/twigModpack-forge/.direnv"/*.rc diff --git a/.direnv/flake-inputs/arvbbwgkx0ynr98q1gnmdfs6w6j60bb1-source b/.direnv/flake-inputs/arvbbwgkx0ynr98q1gnmdfs6w6j60bb1-source new file mode 120000 index 0000000..d2c12bf --- /dev/null +++ b/.direnv/flake-inputs/arvbbwgkx0ynr98q1gnmdfs6w6j60bb1-source @@ -0,0 +1 @@ +/nix/store/arvbbwgkx0ynr98q1gnmdfs6w6j60bb1-source \ No newline at end of file diff --git a/.direnv/flake-inputs/v0g0bxsd5gw6k0jz2855f8h7l1218925-source b/.direnv/flake-inputs/v0g0bxsd5gw6k0jz2855f8h7l1218925-source new file mode 120000 index 0000000..a34beb3 --- /dev/null +++ b/.direnv/flake-inputs/v0g0bxsd5gw6k0jz2855f8h7l1218925-source @@ -0,0 +1 @@ +/nix/store/v0g0bxsd5gw6k0jz2855f8h7l1218925-source \ No newline at end of file diff --git a/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa new file mode 120000 index 0000000..d88e8b5 --- /dev/null +++ b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa @@ -0,0 +1 @@ +/nix/store/7lzfcpgy08449fh1s3gh6pmyq9qsvf5w-nix-shell-env \ No newline at end of file diff --git a/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc new file mode 100644 index 0000000..46f79a9 --- /dev/null +++ b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc @@ -0,0 +1,2006 @@ +unset shellHook +PATH=${PATH:-} +nix_saved_PATH="$PATH" +XDG_DATA_DIRS=${XDG_DATA_DIRS:-} +nix_saved_XDG_DATA_DIRS="$XDG_DATA_DIRS" +AR='ar' +export AR +AS='as' +export AS +BASH='/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash' +CC='gcc' +export CC +CONFIG_SHELL='/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash' +export CONFIG_SHELL +CXX='g++' +export CXX +HOSTTYPE='x86_64' +HOST_PATH='/nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin:/nix/store/jqrz1vq5nz4lnv9pqzydj0ir58wbjfy1-findutils-4.10.0/bin:/nix/store/00g69vw7c9lycy63h45ximy0wmzqx5y6-diffutils-3.10/bin:/nix/store/abm77lnrkrkb58z6xp1qwjcr1xgkcfwm-gnused-4.9/bin:/nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin:/nix/store/a3c47r5z1q2c4rz0kvq8hlilkhx2s718-gawk-5.3.1/bin:/nix/store/9cwwj1c9csmc85l2cqzs3h9hbf1vwl6c-gnutar-1.35/bin:/nix/store/nvvj6sk0k6px48436drlblf4gafgbvzr-gzip-1.13/bin:/nix/store/mglixp03lsp0w986svwdvm7vcy17rdax-bzip2-1.0.8-bin/bin:/nix/store/fp6cjl1zcmm6mawsnrb5yak1wkz2ma8l-gnumake-4.4.1/bin:/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin:/nix/store/5yja5dpk2qw1v5mbfbl2d7klcdfrh90w-patch-2.7.6/bin:/nix/store/h18s640fnhhj2qdh5vivcfbxvz377srg-xz-5.6.3-bin/bin:/nix/store/c4rj90r2m89rxs64hmm857mipwjhig5d-file-5.46/bin' +export HOST_PATH +IFS=' +' +IN_NIX_SHELL='impure' +export IN_NIX_SHELL +LD='ld' +export LD +LINENO='76' +MACHTYPE='x86_64-pc-linux-gnu' +NIX_BINTOOLS='/nix/store/srcmmqi8kxjfygd0hyy42c8hv6cws83b-binutils-wrapper-2.43.1' +export NIX_BINTOOLS +NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu='1' +export NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_BUILD_CORES='16' +export NIX_BUILD_CORES +NIX_CC='/nix/store/xcn9p4xxfbvlkpah7pwchpav4ab9d135-gcc-wrapper-14-20241116' +export NIX_CC +NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu='1' +export NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_CFLAGS_COMPILE=' -frandom-seed=7lzfcpgy08' +export NIX_CFLAGS_COMPILE +NIX_ENFORCE_NO_NATIVE='1' +export NIX_ENFORCE_NO_NATIVE +NIX_HARDENING_ENABLE='bindnow format fortify fortify3 pic relro stackprotector strictoverflow zerocallusedregs' +export NIX_HARDENING_ENABLE +NIX_LDFLAGS='-rpath /home/ly/Documents/twigModpack-forge/outputs/out/lib ' +export NIX_LDFLAGS +NIX_NO_SELF_RPATH='1' +NIX_STORE='/nix/store' +export NIX_STORE +NM='nm' +export NM +OBJCOPY='objcopy' +export OBJCOPY +OBJDUMP='objdump' +export OBJDUMP +OLDPWD='' +export OLDPWD +OPTERR='1' +OSTYPE='linux-gnu' +PATH='/nix/store/am2grammd2aw0ybw4dlf6hf1l3p8wj9h-packwiz-0-unstable-2024-10-15/bin:/nix/store/srfxqk119fijwnprgsqvn68ys9kiw0bn-patchelf-0.15.0/bin:/nix/store/xcn9p4xxfbvlkpah7pwchpav4ab9d135-gcc-wrapper-14-20241116/bin:/nix/store/l89iqc7am6i60y8vk507zwrzxf0wcd3v-gcc-14-20241116/bin:/nix/store/1c6bmxrrhm8bd26ai2rjqld2yyjrxhds-glibc-2.40-36-bin/bin:/nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin:/nix/store/srcmmqi8kxjfygd0hyy42c8hv6cws83b-binutils-wrapper-2.43.1/bin:/nix/store/j7p46r8v9gcpbxx89pbqlh61zhd33gzv-binutils-2.43.1/bin:/nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin:/nix/store/jqrz1vq5nz4lnv9pqzydj0ir58wbjfy1-findutils-4.10.0/bin:/nix/store/00g69vw7c9lycy63h45ximy0wmzqx5y6-diffutils-3.10/bin:/nix/store/abm77lnrkrkb58z6xp1qwjcr1xgkcfwm-gnused-4.9/bin:/nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin:/nix/store/a3c47r5z1q2c4rz0kvq8hlilkhx2s718-gawk-5.3.1/bin:/nix/store/9cwwj1c9csmc85l2cqzs3h9hbf1vwl6c-gnutar-1.35/bin:/nix/store/nvvj6sk0k6px48436drlblf4gafgbvzr-gzip-1.13/bin:/nix/store/mglixp03lsp0w986svwdvm7vcy17rdax-bzip2-1.0.8-bin/bin:/nix/store/fp6cjl1zcmm6mawsnrb5yak1wkz2ma8l-gnumake-4.4.1/bin:/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin:/nix/store/5yja5dpk2qw1v5mbfbl2d7klcdfrh90w-patch-2.7.6/bin:/nix/store/h18s640fnhhj2qdh5vivcfbxvz377srg-xz-5.6.3-bin/bin:/nix/store/c4rj90r2m89rxs64hmm857mipwjhig5d-file-5.46/bin' +export PATH +PS4='+ ' +RANLIB='ranlib' +export RANLIB +READELF='readelf' +export READELF +SHELL='/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash' +export SHELL +SIZE='size' +export SIZE +SOURCE_DATE_EPOCH='315532800' +export SOURCE_DATE_EPOCH +STRINGS='strings' +export STRINGS +STRIP='strip' +export STRIP +XDG_DATA_DIRS='/nix/store/am2grammd2aw0ybw4dlf6hf1l3p8wj9h-packwiz-0-unstable-2024-10-15/share:/nix/store/srfxqk119fijwnprgsqvn68ys9kiw0bn-patchelf-0.15.0/share' +export XDG_DATA_DIRS +__structuredAttrs='' +export __structuredAttrs +_substituteStream_has_warned_replace_deprecation='false' +buildInputs='' +export buildInputs +buildPhase='{ echo "------------------------------------------------------------"; + echo " WARNING: the existence of this path is not guaranteed."; + echo " It is an internal implementation detail for pkgs.mkShell."; + echo "------------------------------------------------------------"; + echo; + # Record all build inputs as runtime dependencies + export; +} >> "$out" +' +export buildPhase +builder='/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash' +export builder +cmakeFlags='' +export cmakeFlags +configureFlags='' +export configureFlags +defaultBuildInputs='' +defaultNativeBuildInputs='/nix/store/srfxqk119fijwnprgsqvn68ys9kiw0bn-patchelf-0.15.0 /nix/store/d29r1bdmlvwmj52apgcdxfl1mm9c5782-update-autotools-gnu-config-scripts-hook /nix/store/h9lc1dpi14z7is86ffhl3ld569138595-audit-tmpdir.sh /nix/store/m54bmrhj6fqz8nds5zcj97w9s9bckc9v-compress-man-pages.sh /nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh /nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh /nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh /nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh /nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh /nix/store/jivxp510zxakaaic7qkrb7v1dd2rdbw9-multiple-outputs.sh /nix/store/12lvf0c7xric9cny7slvf9cmhypl1p67-patch-shebangs.sh /nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh /nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh /nix/store/aazf105snicrlvyzzbdj85sx4179rpfp-set-source-date-epoch-to-latest.sh /nix/store/gps9qrh99j7g02840wv5x78ykmz30byp-strip.sh /nix/store/xcn9p4xxfbvlkpah7pwchpav4ab9d135-gcc-wrapper-14-20241116' +depsBuildBuild='' +export depsBuildBuild +depsBuildBuildPropagated='' +export depsBuildBuildPropagated +depsBuildTarget='' +export depsBuildTarget +depsBuildTargetPropagated='' +export depsBuildTargetPropagated +depsHostHost='' +export depsHostHost +depsHostHostPropagated='' +export depsHostHostPropagated +depsTargetTarget='' +export depsTargetTarget +depsTargetTargetPropagated='' +export depsTargetTargetPropagated +doCheck='' +export doCheck +doInstallCheck='' +export doInstallCheck +dontAddDisableDepTrack='1' +export dontAddDisableDepTrack +declare -a envBuildBuildHooks=() +declare -a envBuildHostHooks=() +declare -a envBuildTargetHooks=() +declare -a envHostHostHooks=('ccWrapper_addCVars' 'bintoolsWrapper_addLDVars' ) +declare -a envHostTargetHooks=('ccWrapper_addCVars' 'bintoolsWrapper_addLDVars' ) +declare -a envTargetTargetHooks=() +declare -a fixupOutputHooks=('if [ -z "${dontPatchELF-}" ]; then patchELF "$prefix"; fi' 'if [[ -z "${noAuditTmpdir-}" && -e "$prefix" ]]; then auditTmpdir "$prefix"; fi' 'if [ -z "${dontGzipMan-}" ]; then compressManPages "$prefix"; fi' '_moveLib64' '_moveSbin' '_moveSystemdUserUnits' 'patchShebangsAuto' '_pruneLibtoolFiles' '_doStrip' ) +guess='16' +initialPath='/nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5 /nix/store/jqrz1vq5nz4lnv9pqzydj0ir58wbjfy1-findutils-4.10.0 /nix/store/00g69vw7c9lycy63h45ximy0wmzqx5y6-diffutils-3.10 /nix/store/abm77lnrkrkb58z6xp1qwjcr1xgkcfwm-gnused-4.9 /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11 /nix/store/a3c47r5z1q2c4rz0kvq8hlilkhx2s718-gawk-5.3.1 /nix/store/9cwwj1c9csmc85l2cqzs3h9hbf1vwl6c-gnutar-1.35 /nix/store/nvvj6sk0k6px48436drlblf4gafgbvzr-gzip-1.13 /nix/store/mglixp03lsp0w986svwdvm7vcy17rdax-bzip2-1.0.8-bin /nix/store/fp6cjl1zcmm6mawsnrb5yak1wkz2ma8l-gnumake-4.4.1 /nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37 /nix/store/5yja5dpk2qw1v5mbfbl2d7klcdfrh90w-patch-2.7.6 /nix/store/h18s640fnhhj2qdh5vivcfbxvz377srg-xz-5.6.3-bin /nix/store/c4rj90r2m89rxs64hmm857mipwjhig5d-file-5.46' +mesonFlags='' +export mesonFlags +name='nix-shell-env' +export name +nativeBuildInputs='/nix/store/am2grammd2aw0ybw4dlf6hf1l3p8wj9h-packwiz-0-unstable-2024-10-15' +export nativeBuildInputs +out='/home/ly/Documents/twigModpack-forge/outputs/out' +export out +outputBin='out' +outputDev='out' +outputDevdoc='REMOVE' +outputDevman='out' +outputDoc='out' +outputInclude='out' +outputInfo='out' +outputLib='out' +outputMan='out' +outputs='out' +export outputs +patches='' +export patches +phases='buildPhase' +export phases +pkg='/nix/store/xcn9p4xxfbvlkpah7pwchpav4ab9d135-gcc-wrapper-14-20241116' +declare -a pkgsBuildBuild=() +declare -a pkgsBuildHost=('/nix/store/am2grammd2aw0ybw4dlf6hf1l3p8wj9h-packwiz-0-unstable-2024-10-15' '/nix/store/srfxqk119fijwnprgsqvn68ys9kiw0bn-patchelf-0.15.0' '/nix/store/d29r1bdmlvwmj52apgcdxfl1mm9c5782-update-autotools-gnu-config-scripts-hook' '/nix/store/h9lc1dpi14z7is86ffhl3ld569138595-audit-tmpdir.sh' '/nix/store/m54bmrhj6fqz8nds5zcj97w9s9bckc9v-compress-man-pages.sh' '/nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh' '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh' '/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh' '/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh' '/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh' '/nix/store/jivxp510zxakaaic7qkrb7v1dd2rdbw9-multiple-outputs.sh' '/nix/store/12lvf0c7xric9cny7slvf9cmhypl1p67-patch-shebangs.sh' '/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh' '/nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh' '/nix/store/aazf105snicrlvyzzbdj85sx4179rpfp-set-source-date-epoch-to-latest.sh' '/nix/store/gps9qrh99j7g02840wv5x78ykmz30byp-strip.sh' '/nix/store/xcn9p4xxfbvlkpah7pwchpav4ab9d135-gcc-wrapper-14-20241116' '/nix/store/srcmmqi8kxjfygd0hyy42c8hv6cws83b-binutils-wrapper-2.43.1' ) +declare -a pkgsBuildTarget=() +declare -a pkgsHostHost=() +declare -a pkgsHostTarget=() +declare -a pkgsTargetTarget=() +declare -a postFixupHooks=('_makeSymlinksRelativeInAllOutputs' '_multioutPropagateDev' ) +declare -a postUnpackHooks=('_updateSourceDateEpochFromSourceRoot' ) +declare -a preConfigureHooks=('_multioutConfig' ) +preConfigurePhases=' updateAutotoolsGnuConfigScriptsPhase' +declare -a preFixupHooks=('_moveToShare' '_multioutDocs' '_multioutDevs' ) +preferLocalBuild='1' +export preferLocalBuild +prefix='/home/ly/Documents/twigModpack-forge/outputs/out' +declare -a propagatedBuildDepFiles=('propagated-build-build-deps' 'propagated-native-build-inputs' 'propagated-build-target-deps' ) +propagatedBuildInputs='' +export propagatedBuildInputs +declare -a propagatedHostDepFiles=('propagated-host-host-deps' 'propagated-build-inputs' ) +propagatedNativeBuildInputs='' +export propagatedNativeBuildInputs +declare -a propagatedTargetDepFiles=('propagated-target-target-deps' ) +shell='/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash' +export shell +shellHook='' +export shellHook +stdenv='/nix/store/d0gfdcag8bxzvg7ww4s7px4lf8sxisyx-stdenv-linux' +export stdenv +strictDeps='' +export strictDeps +system='x86_64-linux' +export system +declare -a unpackCmdHooks=('_defaultUnpack' ) +_activatePkgs () +{ + + local hostOffset targetOffset; + local pkg; + for hostOffset in "${allPlatOffsets[@]}"; + do + local pkgsVar="${pkgAccumVarVars[hostOffset + 1]}"; + for targetOffset in "${allPlatOffsets[@]}"; + do + (( hostOffset <= targetOffset )) || continue; + local pkgsRef="${pkgsVar}[$targetOffset - $hostOffset]"; + local pkgsSlice="${!pkgsRef}[@]"; + for pkg in ${!pkgsSlice+"${!pkgsSlice}"}; + do + activatePackage "$pkg" "$hostOffset" "$targetOffset"; + done; + done; + done +} +_addRpathPrefix () +{ + + if [ "${NIX_NO_SELF_RPATH:-0}" != 1 ]; then + export NIX_LDFLAGS="-rpath $1/lib ${NIX_LDFLAGS-}"; + fi +} +_addToEnv () +{ + + local depHostOffset depTargetOffset; + local pkg; + for depHostOffset in "${allPlatOffsets[@]}"; + do + local hookVar="${pkgHookVarVars[depHostOffset + 1]}"; + local pkgsVar="${pkgAccumVarVars[depHostOffset + 1]}"; + for depTargetOffset in "${allPlatOffsets[@]}"; + do + (( depHostOffset <= depTargetOffset )) || continue; + local hookRef="${hookVar}[$depTargetOffset - $depHostOffset]"; + if [[ -z "${strictDeps-}" ]]; then + local visitedPkgs=""; + for pkg in "${pkgsBuildBuild[@]}" "${pkgsBuildHost[@]}" "${pkgsBuildTarget[@]}" "${pkgsHostHost[@]}" "${pkgsHostTarget[@]}" "${pkgsTargetTarget[@]}"; + do + if [[ "$visitedPkgs" = *"$pkg"* ]]; then + continue; + fi; + runHook "${!hookRef}" "$pkg"; + visitedPkgs+=" $pkg"; + done; + else + local pkgsRef="${pkgsVar}[$depTargetOffset - $depHostOffset]"; + local pkgsSlice="${!pkgsRef}[@]"; + for pkg in ${!pkgsSlice+"${!pkgsSlice}"}; + do + runHook "${!hookRef}" "$pkg"; + done; + fi; + done; + done +} +_allFlags () +{ + + export system pname name version; + while IFS='' read -r varName; do + nixTalkativeLog "@${varName}@ -> ${!varName}"; + args+=("--subst-var" "$varName"); + done < <(awk 'BEGIN { for (v in ENVIRON) if (v ~ /^[a-z][a-zA-Z0-9_]*$/) print v }') +} +_assignFirst () +{ + + local varName="$1"; + local _var; + local REMOVE=REMOVE; + shift; + for _var in "$@"; + do + if [ -n "${!_var-}" ]; then + eval "${varName}"="${_var}"; + return; + fi; + done; + echo; + echo "error: _assignFirst: could not find a non-empty variable whose name to assign to ${varName}."; + echo " The following variables were all unset or empty:"; + echo " $*"; + if [ -z "${out:-}" ]; then + echo ' If you do not want an "out" output in your derivation, make sure to define'; + echo ' the other specific required outputs. This can be achieved by picking one'; + echo " of the above as an output."; + echo ' You do not have to remove "out" if you want to have a different default'; + echo ' output, because the first output is taken as a default.'; + echo; + fi; + return 1 +} +_callImplicitHook () +{ + + local def="$1"; + local hookName="$2"; + if declare -F "$hookName" > /dev/null; then + nixTalkativeLog "calling implicit '$hookName' function hook"; + "$hookName"; + else + if type -p "$hookName" > /dev/null; then + nixTalkativeLog "sourcing implicit '$hookName' script hook"; + source "$hookName"; + else + if [ -n "${!hookName:-}" ]; then + nixTalkativeLog "evaling implicit '$hookName' string hook"; + eval "${!hookName}"; + else + return "$def"; + fi; + fi; + fi +} +_defaultUnpack () +{ + + local fn="$1"; + local destination; + if [ -d "$fn" ]; then + destination="$(stripHash "$fn")"; + if [ -e "$destination" ]; then + echo "Cannot copy $fn to $destination: destination already exists!"; + echo "Did you specify two \"srcs\" with the same \"name\"?"; + return 1; + fi; + cp -r --preserve=mode,timestamps --reflink=auto -- "$fn" "$destination"; + else + case "$fn" in + *.tar.xz | *.tar.lzma | *.txz) + ( XZ_OPT="--threads=$NIX_BUILD_CORES" xz -d < "$fn"; + true ) | tar xf - --mode=+w --warning=no-timestamp + ;; + *.tar | *.tar.* | *.tgz | *.tbz2 | *.tbz) + tar xf "$fn" --mode=+w --warning=no-timestamp + ;; + *) + return 1 + ;; + esac; + fi +} +_doStrip () +{ + + local -ra flags=(dontStripHost dontStripTarget); + local -ra debugDirs=(stripDebugList stripDebugListTarget); + local -ra allDirs=(stripAllList stripAllListTarget); + local -ra stripCmds=(STRIP STRIP_FOR_TARGET); + local -ra ranlibCmds=(RANLIB RANLIB_FOR_TARGET); + stripDebugList=${stripDebugList[*]:-lib lib32 lib64 libexec bin sbin}; + stripDebugListTarget=${stripDebugListTarget[*]:-}; + stripAllList=${stripAllList[*]:-}; + stripAllListTarget=${stripAllListTarget[*]:-}; + local i; + for i in ${!stripCmds[@]}; + do + local -n flag="${flags[$i]}"; + local -n debugDirList="${debugDirs[$i]}"; + local -n allDirList="${allDirs[$i]}"; + local -n stripCmd="${stripCmds[$i]}"; + local -n ranlibCmd="${ranlibCmds[$i]}"; + if [[ -n "${dontStrip-}" || -n "${flag-}" ]] || ! type -f "${stripCmd-}" 2> /dev/null 1>&2; then + continue; + fi; + stripDirs "$stripCmd" "$ranlibCmd" "$debugDirList" "${stripDebugFlags[*]:--S -p}"; + stripDirs "$stripCmd" "$ranlibCmd" "$allDirList" "${stripAllFlags[*]:--s -p}"; + done +} +_eval () +{ + + if declare -F "$1" > /dev/null 2>&1; then + "$@"; + else + eval "$1"; + fi +} +_logHook () +{ + + if [[ -z ${NIX_LOG_FD-} ]]; then + return; + fi; + local hookKind="$1"; + local hookExpr="$2"; + shift 2; + if declare -F "$hookExpr" > /dev/null 2>&1; then + nixTalkativeLog "calling '$hookKind' function hook '$hookExpr'" "$@"; + else + if type -p "$hookExpr" > /dev/null; then + nixTalkativeLog "sourcing '$hookKind' script hook '$hookExpr'"; + else + if [[ "$hookExpr" != "_callImplicitHook"* ]]; then + local exprToOutput; + if [[ ${NIX_DEBUG:-0} -ge 5 ]]; then + exprToOutput="$hookExpr"; + else + local hookExprLine; + while IFS= read -r hookExprLine; do + hookExprLine="${hookExprLine#"${hookExprLine%%[![:space:]]*}"}"; + if [[ -n "$hookExprLine" ]]; then + exprToOutput+="$hookExprLine\\n "; + fi; + done <<< "$hookExpr"; + exprToOutput="${exprToOutput%%\\n }"; + fi; + nixTalkativeLog "evaling '$hookKind' string hook '$exprToOutput'"; + fi; + fi; + fi +} +_makeSymlinksRelative () +{ + + local symlinkTarget; + if [ "${dontRewriteSymlinks-}" ] || [ ! -e "$prefix" ]; then + return; + fi; + while IFS= read -r -d '' f; do + symlinkTarget=$(readlink "$f"); + if [[ "$symlinkTarget"/ != "$prefix"/* ]]; then + continue; + fi; + if [ ! -e "$symlinkTarget" ]; then + echo "the symlink $f is broken, it points to $symlinkTarget (which is missing)"; + fi; + echo "rewriting symlink $f to be relative to $prefix"; + ln -snrf "$symlinkTarget" "$f"; + done < <(find $prefix -type l -print0) +} +_makeSymlinksRelativeInAllOutputs () +{ + + local output; + for output in $(getAllOutputNames); + do + prefix="${!output}" _makeSymlinksRelative; + done +} +_moveLib64 () +{ + + if [ "${dontMoveLib64-}" = 1 ]; then + return; + fi; + if [ ! -e "$prefix/lib64" -o -L "$prefix/lib64" ]; then + return; + fi; + echo "moving $prefix/lib64/* to $prefix/lib"; + mkdir -p $prefix/lib; + shopt -s dotglob; + for i in $prefix/lib64/*; + do + mv --no-clobber "$i" $prefix/lib; + done; + shopt -u dotglob; + rmdir $prefix/lib64; + ln -s lib $prefix/lib64 +} +_moveSbin () +{ + + if [ "${dontMoveSbin-}" = 1 ]; then + return; + fi; + if [ ! -e "$prefix/sbin" -o -L "$prefix/sbin" ]; then + return; + fi; + echo "moving $prefix/sbin/* to $prefix/bin"; + mkdir -p $prefix/bin; + shopt -s dotglob; + for i in $prefix/sbin/*; + do + mv "$i" $prefix/bin; + done; + shopt -u dotglob; + rmdir $prefix/sbin; + ln -s bin $prefix/sbin +} +_moveSystemdUserUnits () +{ + + if [ "${dontMoveSystemdUserUnits:-0}" = 1 ]; then + return; + fi; + if [ ! -e "${prefix:?}/lib/systemd/user" ]; then + return; + fi; + local source="$prefix/lib/systemd/user"; + local target="$prefix/share/systemd/user"; + echo "moving $source/* to $target"; + mkdir -p "$target"; + ( shopt -s dotglob; + for i in "$source"/*; + do + mv "$i" "$target"; + done ); + rmdir "$source"; + ln -s "$target" "$source" +} +_moveToShare () +{ + + if [ -n "$__structuredAttrs" ]; then + if [ -z "${forceShare-}" ]; then + forceShare=(man doc info); + fi; + else + forceShare=(${forceShare:-man doc info}); + fi; + if [[ -z "$out" ]]; then + return; + fi; + for d in "${forceShare[@]}"; + do + if [ -d "$out/$d" ]; then + if [ -d "$out/share/$d" ]; then + echo "both $d/ and share/$d/ exist!"; + else + echo "moving $out/$d to $out/share/$d"; + mkdir -p $out/share; + mv $out/$d $out/share/; + fi; + fi; + done +} +_multioutConfig () +{ + + if [ "$(getAllOutputNames)" = "out" ] || [ -z "${setOutputFlags-1}" ]; then + return; + fi; + if [ -z "${shareDocName:-}" ]; then + local confScript="${configureScript:-}"; + if [ -z "$confScript" ] && [ -x ./configure ]; then + confScript=./configure; + fi; + if [ -f "$confScript" ]; then + local shareDocName="$(sed -n "s/^PACKAGE_TARNAME='\(.*\)'$/\1/p" < "$confScript")"; + fi; + if [ -z "$shareDocName" ] || echo "$shareDocName" | grep -q '[^a-zA-Z0-9_-]'; then + shareDocName="$(echo "$name" | sed 's/-[^a-zA-Z].*//')"; + fi; + fi; + prependToVar configureFlags --bindir="${!outputBin}"/bin --sbindir="${!outputBin}"/sbin --includedir="${!outputInclude}"/include --oldincludedir="${!outputInclude}"/include --mandir="${!outputMan}"/share/man --infodir="${!outputInfo}"/share/info --docdir="${!outputDoc}"/share/doc/"${shareDocName}" --libdir="${!outputLib}"/lib --libexecdir="${!outputLib}"/libexec --localedir="${!outputLib}"/share/locale; + prependToVar installFlags pkgconfigdir="${!outputDev}"/lib/pkgconfig m4datadir="${!outputDev}"/share/aclocal aclocaldir="${!outputDev}"/share/aclocal +} +_multioutDevs () +{ + + if [ "$(getAllOutputNames)" = "out" ] || [ -z "${moveToDev-1}" ]; then + return; + fi; + moveToOutput include "${!outputInclude}"; + moveToOutput lib/pkgconfig "${!outputDev}"; + moveToOutput share/pkgconfig "${!outputDev}"; + moveToOutput lib/cmake "${!outputDev}"; + moveToOutput share/aclocal "${!outputDev}"; + for f in "${!outputDev}"/{lib,share}/pkgconfig/*.pc; + do + echo "Patching '$f' includedir to output ${!outputInclude}"; + sed -i "/^includedir=/s,=\${prefix},=${!outputInclude}," "$f"; + done +} +_multioutDocs () +{ + + local REMOVE=REMOVE; + moveToOutput share/info "${!outputInfo}"; + moveToOutput share/doc "${!outputDoc}"; + moveToOutput share/gtk-doc "${!outputDevdoc}"; + moveToOutput share/devhelp/books "${!outputDevdoc}"; + moveToOutput share/man "${!outputMan}"; + moveToOutput share/man/man3 "${!outputDevman}" +} +_multioutPropagateDev () +{ + + if [ "$(getAllOutputNames)" = "out" ]; then + return; + fi; + local outputFirst; + for outputFirst in $(getAllOutputNames); + do + break; + done; + local propagaterOutput="$outputDev"; + if [ -z "$propagaterOutput" ]; then + propagaterOutput="$outputFirst"; + fi; + if [ -z "${propagatedBuildOutputs+1}" ]; then + local po_dirty="$outputBin $outputInclude $outputLib"; + set +o pipefail; + propagatedBuildOutputs=`echo "$po_dirty" | tr -s ' ' '\n' | grep -v -F "$propagaterOutput" | sort -u | tr '\n' ' ' `; + set -o pipefail; + fi; + if [ -z "$propagatedBuildOutputs" ]; then + return; + fi; + mkdir -p "${!propagaterOutput}"/nix-support; + for output in $propagatedBuildOutputs; + do + echo -n " ${!output}" >> "${!propagaterOutput}"/nix-support/propagated-build-inputs; + done +} +_overrideFirst () +{ + + if [ -z "${!1-}" ]; then + _assignFirst "$@"; + fi +} +_pruneLibtoolFiles () +{ + + if [ "${dontPruneLibtoolFiles-}" ] || [ ! -e "$prefix" ]; then + return; + fi; + find "$prefix" -type f -name '*.la' -exec grep -q '^# Generated by .*libtool' {} \; -exec grep -q "^old_library=''" {} \; -exec sed -i {} -e "/^dependency_libs='[^']/ c dependency_libs='' #pruned" \; +} +_updateSourceDateEpochFromSourceRoot () +{ + + if [ -n "$sourceRoot" ]; then + updateSourceDateEpoch "$sourceRoot"; + fi +} +activatePackage () +{ + + local pkg="$1"; + local -r hostOffset="$2"; + local -r targetOffset="$3"; + (( hostOffset <= targetOffset )) || exit 1; + if [ -f "$pkg" ]; then + nixTalkativeLog "sourcing setup hook '$pkg'"; + source "$pkg"; + fi; + if [[ -z "${strictDeps-}" || "$hostOffset" -le -1 ]]; then + addToSearchPath _PATH "$pkg/bin"; + fi; + if (( hostOffset <= -1 )); then + addToSearchPath _XDG_DATA_DIRS "$pkg/share"; + fi; + if [[ "$hostOffset" -eq 0 && -d "$pkg/bin" ]]; then + addToSearchPath _HOST_PATH "$pkg/bin"; + fi; + if [[ -f "$pkg/nix-support/setup-hook" ]]; then + nixTalkativeLog "sourcing setup hook '$pkg/nix-support/setup-hook'"; + source "$pkg/nix-support/setup-hook"; + fi +} +addEnvHooks () +{ + + local depHostOffset="$1"; + shift; + local pkgHookVarsSlice="${pkgHookVarVars[$depHostOffset + 1]}[@]"; + local pkgHookVar; + for pkgHookVar in "${!pkgHookVarsSlice}"; + do + eval "${pkgHookVar}s"'+=("$@")'; + done +} +addToSearchPath () +{ + + addToSearchPathWithCustomDelimiter ":" "$@" +} +addToSearchPathWithCustomDelimiter () +{ + + local delimiter="$1"; + local varName="$2"; + local dir="$3"; + if [[ -d "$dir" && "${!varName:+${delimiter}${!varName}${delimiter}}" != *"${delimiter}${dir}${delimiter}"* ]]; then + export "${varName}=${!varName:+${!varName}${delimiter}}${dir}"; + fi +} +appendToVar () +{ + + local -n nameref="$1"; + local useArray type; + if [ -n "$__structuredAttrs" ]; then + useArray=true; + else + useArray=false; + fi; + if type=$(declare -p "$1" 2> /dev/null); then + case "${type#* }" in + -A*) + echo "appendToVar(): ERROR: trying to use appendToVar on an associative array, use variable+=([\"X\"]=\"Y\") instead." 1>&2; + return 1 + ;; + -a*) + useArray=true + ;; + *) + useArray=false + ;; + esac; + fi; + shift; + if $useArray; then + nameref=(${nameref+"${nameref[@]}"} "$@"); + else + nameref="${nameref-} $*"; + fi +} +auditTmpdir () +{ + + local dir="$1"; + [ -e "$dir" ] || return 0; + echo "checking for references to $TMPDIR/ in $dir..."; + local i; + find "$dir" -type f -print0 | while IFS= read -r -d '' i; do + if [[ "$i" =~ .build-id ]]; then + continue; + fi; + if isELF "$i"; then + if { + printf :; + patchelf --print-rpath "$i" + } | grep -q -F ":$TMPDIR/"; then + echo "RPATH of binary $i contains a forbidden reference to $TMPDIR/"; + exit 1; + fi; + fi; + if isScript "$i"; then + if [ -e "$(dirname "$i")/.$(basename "$i")-wrapped" ]; then + if grep -q -F "$TMPDIR/" "$i"; then + echo "wrapper script $i contains a forbidden reference to $TMPDIR/"; + exit 1; + fi; + fi; + fi; + done +} +bintoolsWrapper_addLDVars () +{ + + local role_post; + getHostRoleEnvHook; + if [[ -d "$1/lib64" && ! -L "$1/lib64" ]]; then + export NIX_LDFLAGS${role_post}+=" -L$1/lib64"; + fi; + if [[ -d "$1/lib" ]]; then + local -a glob=($1/lib/lib*); + if [ "${#glob[*]}" -gt 0 ]; then + export NIX_LDFLAGS${role_post}+=" -L$1/lib"; + fi; + fi +} +buildPhase () +{ + + runHook preBuild; + if [[ -z "${makeFlags-}" && -z "${makefile:-}" && ! ( -e Makefile || -e makefile || -e GNUmakefile ) ]]; then + echo "no Makefile or custom buildPhase, doing nothing"; + else + foundMakefile=1; + local flagsArray=(${enableParallelBuilding:+-j${NIX_BUILD_CORES}} SHELL="$SHELL"); + concatTo flagsArray makeFlags makeFlagsArray buildFlags buildFlagsArray; + echoCmd 'build flags' "${flagsArray[@]}"; + make ${makefile:+-f $makefile} "${flagsArray[@]}"; + unset flagsArray; + fi; + runHook postBuild +} +ccWrapper_addCVars () +{ + + local role_post; + getHostRoleEnvHook; + if [ -d "$1/include" ]; then + export NIX_CFLAGS_COMPILE${role_post}+=" -isystem $1/include"; + fi; + if [ -d "$1/Library/Frameworks" ]; then + export NIX_CFLAGS_COMPILE${role_post}+=" -iframework $1/Library/Frameworks"; + fi +} +checkPhase () +{ + + runHook preCheck; + if [[ -z "${foundMakefile:-}" ]]; then + echo "no Makefile or custom checkPhase, doing nothing"; + runHook postCheck; + return; + fi; + if [[ -z "${checkTarget:-}" ]]; then + if make -n ${makefile:+-f $makefile} check > /dev/null 2>&1; then + checkTarget="check"; + else + if make -n ${makefile:+-f $makefile} test > /dev/null 2>&1; then + checkTarget="test"; + fi; + fi; + fi; + if [[ -z "${checkTarget:-}" ]]; then + echo "no check/test target in ${makefile:-Makefile}, doing nothing"; + else + local flagsArray=(${enableParallelChecking:+-j${NIX_BUILD_CORES}} SHELL="$SHELL"); + concatTo flagsArray makeFlags makeFlagsArray checkFlags=VERBOSE=y checkFlagsArray checkTarget; + echoCmd 'check flags' "${flagsArray[@]}"; + make ${makefile:+-f $makefile} "${flagsArray[@]}"; + unset flagsArray; + fi; + runHook postCheck +} +compressManPages () +{ + + local dir="$1"; + if [ -L "$dir"/share ] || [ -L "$dir"/share/man ] || [ ! -d "$dir/share/man" ]; then + return; + fi; + echo "gzipping man pages under $dir/share/man/"; + find "$dir"/share/man/ -type f -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 | while IFS= read -r -d '' f; do + if gzip -c -n "$f" > "$f".gz; then + rm "$f"; + else + rm "$f".gz; + fi; + done; + find "$dir"/share/man/ -type l -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 | sort -z | while IFS= read -r -d '' f; do + local target; + target="$(readlink -f "$f")"; + if [ -f "$target".gz ]; then + ln -sf "$target".gz "$f".gz && rm "$f"; + fi; + done +} +concatStringsSep () +{ + + local sep="$1"; + local name="$2"; + local type oldifs; + if type=$(declare -p "$name" 2> /dev/null); then + local -n nameref="$name"; + case "${type#* }" in + -A*) + echo "concatStringsSep(): ERROR: trying to use concatStringsSep on an associative array." 1>&2; + return 1 + ;; + -a*) + local IFS="$(printf '\036')" + ;; + *) + local IFS=" " + ;; + esac; + local ifs_separated="${nameref[*]}"; + echo -n "${ifs_separated//"$IFS"/"$sep"}"; + fi +} +concatTo () +{ + + local -; + set -o noglob; + local -n targetref="$1"; + shift; + local arg default name type; + for arg in "$@"; + do + IFS="=" read -r name default <<< "$arg"; + local -n nameref="$name"; + if [[ -z "${nameref[*]}" && -n "$default" ]]; then + targetref+=("$default"); + else + if type=$(declare -p "$name" 2> /dev/null); then + case "${type#* }" in + -A*) + echo "concatTo(): ERROR: trying to use concatTo on an associative array." 1>&2; + return 1 + ;; + -a*) + targetref+=("${nameref[@]}") + ;; + *) + if [[ "$name" = *"Array" ]]; then + nixErrorLog "concatTo(): $name is not declared as array, treating as a singleton. This will become an error in future"; + targetref+=(${nameref+"${nameref[@]}"}); + else + targetref+=(${nameref-}); + fi + ;; + esac; + fi; + fi; + done +} +configurePhase () +{ + + runHook preConfigure; + : "${configureScript=}"; + if [[ -z "$configureScript" && -x ./configure ]]; then + configureScript=./configure; + fi; + if [ -z "${dontFixLibtool:-}" ]; then + export lt_cv_deplibs_check_method="${lt_cv_deplibs_check_method-pass_all}"; + local i; + find . -iname "ltmain.sh" -print0 | while IFS='' read -r -d '' i; do + echo "fixing libtool script $i"; + fixLibtool "$i"; + done; + CONFIGURE_MTIME_REFERENCE=$(mktemp configure.mtime.reference.XXXXXX); + find . -executable -type f -name configure -exec grep -l 'GNU Libtool is free software; you can redistribute it and/or modify' {} \; -exec touch -r {} "$CONFIGURE_MTIME_REFERENCE" \; -exec sed -i s_/usr/bin/file_file_g {} \; -exec touch -r "$CONFIGURE_MTIME_REFERENCE" {} \;; + rm -f "$CONFIGURE_MTIME_REFERENCE"; + fi; + if [[ -z "${dontAddPrefix:-}" && -n "$prefix" ]]; then + prependToVar configureFlags "${prefixKey:---prefix=}$prefix"; + fi; + if [[ -f "$configureScript" ]]; then + if [ -z "${dontAddDisableDepTrack:-}" ]; then + if grep -q dependency-tracking "$configureScript"; then + prependToVar configureFlags --disable-dependency-tracking; + fi; + fi; + if [ -z "${dontDisableStatic:-}" ]; then + if grep -q enable-static "$configureScript"; then + prependToVar configureFlags --disable-static; + fi; + fi; + if [ -z "${dontPatchShebangsInConfigure:-}" ]; then + patchShebangs --build "$configureScript"; + fi; + fi; + if [ -n "$configureScript" ]; then + local -a flagsArray; + concatTo flagsArray configureFlags configureFlagsArray; + echoCmd 'configure flags' "${flagsArray[@]}"; + $configureScript "${flagsArray[@]}"; + unset flagsArray; + else + echo "no configure script, doing nothing"; + fi; + runHook postConfigure +} +consumeEntire () +{ + + if IFS='' read -r -d '' "$1"; then + echo "consumeEntire(): ERROR: Input null bytes, won't process" 1>&2; + return 1; + fi +} +distPhase () +{ + + runHook preDist; + local flagsArray=(); + concatTo flagsArray distFlags distFlagsArray distTarget=dist; + echo 'dist flags: %q' "${flagsArray[@]}"; + make ${makefile:+-f $makefile} "${flagsArray[@]}"; + if [ "${dontCopyDist:-0}" != 1 ]; then + mkdir -p "$out/tarballs"; + cp -pvd ${tarballs[*]:-*.tar.gz} "$out/tarballs"; + fi; + runHook postDist +} +dumpVars () +{ + + if [ "${noDumpEnvVars:-0}" != 1 ]; then + { + install -m 0600 /dev/null "$NIX_BUILD_TOP/env-vars" && export 2> /dev/null >| "$NIX_BUILD_TOP/env-vars" + } || true; + fi +} +echoCmd () +{ + + printf "%s:" "$1"; + shift; + printf ' %q' "$@"; + echo +} +exitHandler () +{ + + exitCode="$?"; + set +e; + if [ -n "${showBuildStats:-}" ]; then + read -r -d '' -a buildTimes < <(times); + echo "build times:"; + echo "user time for the shell ${buildTimes[0]}"; + echo "system time for the shell ${buildTimes[1]}"; + echo "user time for all child processes ${buildTimes[2]}"; + echo "system time for all child processes ${buildTimes[3]}"; + fi; + if (( "$exitCode" != 0 )); then + runHook failureHook; + if [ -n "${succeedOnFailure:-}" ]; then + echo "build failed with exit code $exitCode (ignored)"; + mkdir -p "$out/nix-support"; + printf "%s" "$exitCode" > "$out/nix-support/failed"; + exit 0; + fi; + else + runHook exitHook; + fi; + return "$exitCode" +} +findInputs () +{ + + local -r pkg="$1"; + local -r hostOffset="$2"; + local -r targetOffset="$3"; + (( hostOffset <= targetOffset )) || exit 1; + local varVar="${pkgAccumVarVars[hostOffset + 1]}"; + local varRef="$varVar[$((targetOffset - hostOffset))]"; + local var="${!varRef}"; + unset -v varVar varRef; + local varSlice="$var[*]"; + case " ${!varSlice-} " in + *" $pkg "*) + return 0 + ;; + esac; + unset -v varSlice; + eval "$var"'+=("$pkg")'; + if ! [ -e "$pkg" ]; then + echo "build input $pkg does not exist" 1>&2; + exit 1; + fi; + function mapOffset () + { + local -r inputOffset="$1"; + local -n outputOffset="$2"; + if (( inputOffset <= 0 )); then + outputOffset=$((inputOffset + hostOffset)); + else + outputOffset=$((inputOffset - 1 + targetOffset)); + fi + }; + local relHostOffset; + for relHostOffset in "${allPlatOffsets[@]}"; + do + local files="${propagatedDepFilesVars[relHostOffset + 1]}"; + local hostOffsetNext; + mapOffset "$relHostOffset" hostOffsetNext; + (( -1 <= hostOffsetNext && hostOffsetNext <= 1 )) || continue; + local relTargetOffset; + for relTargetOffset in "${allPlatOffsets[@]}"; + do + (( "$relHostOffset" <= "$relTargetOffset" )) || continue; + local fileRef="${files}[$relTargetOffset - $relHostOffset]"; + local file="${!fileRef}"; + unset -v fileRef; + local targetOffsetNext; + mapOffset "$relTargetOffset" targetOffsetNext; + (( -1 <= hostOffsetNext && hostOffsetNext <= 1 )) || continue; + [[ -f "$pkg/nix-support/$file" ]] || continue; + local pkgNext; + read -r -d '' pkgNext < "$pkg/nix-support/$file" || true; + for pkgNext in $pkgNext; + do + findInputs "$pkgNext" "$hostOffsetNext" "$targetOffsetNext"; + done; + done; + done +} +fixLibtool () +{ + + local search_path; + for flag in $NIX_LDFLAGS; + do + case $flag in + -L*) + search_path+=" ${flag#-L}" + ;; + esac; + done; + sed -i "$1" -e "s^eval \(sys_lib_search_path=\).*^\1'${search_path:-}'^" -e 's^eval sys_lib_.+search_path=.*^^' +} +fixupPhase () +{ + + local output; + for output in $(getAllOutputNames); + do + if [ -e "${!output}" ]; then + chmod -R u+w,u-s,g-s "${!output}"; + fi; + done; + runHook preFixup; + local output; + for output in $(getAllOutputNames); + do + prefix="${!output}" runHook fixupOutput; + done; + recordPropagatedDependencies; + if [ -n "${setupHook:-}" ]; then + mkdir -p "${!outputDev}/nix-support"; + substituteAll "$setupHook" "${!outputDev}/nix-support/setup-hook"; + fi; + if [ -n "${setupHooks:-}" ]; then + mkdir -p "${!outputDev}/nix-support"; + local hook; + for hook in ${setupHooks[@]}; + do + local content; + consumeEntire content < "$hook"; + substituteAllStream content "file '$hook'" >> "${!outputDev}/nix-support/setup-hook"; + unset -v content; + done; + unset -v hook; + fi; + if [ -n "${propagatedUserEnvPkgs:-}" ]; then + mkdir -p "${!outputBin}/nix-support"; + printWords $propagatedUserEnvPkgs > "${!outputBin}/nix-support/propagated-user-env-packages"; + fi; + runHook postFixup +} +genericBuild () +{ + + export GZIP_NO_TIMESTAMPS=1; + if [ -f "${buildCommandPath:-}" ]; then + source "$buildCommandPath"; + return; + fi; + if [ -n "${buildCommand:-}" ]; then + eval "$buildCommand"; + return; + fi; + if [ -z "${phases[*]:-}" ]; then + phases="${prePhases[*]:-} unpackPhase patchPhase ${preConfigurePhases[*]:-} configurePhase ${preBuildPhases[*]:-} buildPhase checkPhase ${preInstallPhases[*]:-} installPhase ${preFixupPhases[*]:-} fixupPhase installCheckPhase ${preDistPhases[*]:-} distPhase ${postPhases[*]:-}"; + fi; + for curPhase in ${phases[*]}; + do + runPhase "$curPhase"; + done +} +getAllOutputNames () +{ + + if [ -n "$__structuredAttrs" ]; then + echo "${!outputs[*]}"; + else + echo "$outputs"; + fi +} +getHostRole () +{ + + getRole "$hostOffset" +} +getHostRoleEnvHook () +{ + + getRole "$depHostOffset" +} +getRole () +{ + + case $1 in + -1) + role_post='_FOR_BUILD' + ;; + 0) + role_post='' + ;; + 1) + role_post='_FOR_TARGET' + ;; + *) + echo "binutils-wrapper-2.43.1: used as improper sort of dependency" 1>&2; + return 1 + ;; + esac +} +getTargetRole () +{ + + getRole "$targetOffset" +} +getTargetRoleEnvHook () +{ + + getRole "$depTargetOffset" +} +getTargetRoleWrapper () +{ + + case $targetOffset in + -1) + export NIX_BINTOOLS_WRAPPER_TARGET_BUILD_x86_64_unknown_linux_gnu=1 + ;; + 0) + export NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1 + ;; + 1) + export NIX_BINTOOLS_WRAPPER_TARGET_TARGET_x86_64_unknown_linux_gnu=1 + ;; + *) + echo "binutils-wrapper-2.43.1: used as improper sort of dependency" 1>&2; + return 1 + ;; + esac +} +installCheckPhase () +{ + + runHook preInstallCheck; + if [[ -z "${foundMakefile:-}" ]]; then + echo "no Makefile or custom installCheckPhase, doing nothing"; + else + if [[ -z "${installCheckTarget:-}" ]] && ! make -n ${makefile:+-f $makefile} "${installCheckTarget:-installcheck}" > /dev/null 2>&1; then + echo "no installcheck target in ${makefile:-Makefile}, doing nothing"; + else + local flagsArray=(${enableParallelChecking:+-j${NIX_BUILD_CORES}} SHELL="$SHELL"); + concatTo flagsArray makeFlags makeFlagsArray installCheckFlags installCheckFlagsArray installCheckTarget=installcheck; + echoCmd 'installcheck flags' "${flagsArray[@]}"; + make ${makefile:+-f $makefile} "${flagsArray[@]}"; + unset flagsArray; + fi; + fi; + runHook postInstallCheck +} +installPhase () +{ + + runHook preInstall; + if [[ -z "${makeFlags-}" && -z "${makefile:-}" && ! ( -e Makefile || -e makefile || -e GNUmakefile ) ]]; then + echo "no Makefile or custom installPhase, doing nothing"; + runHook postInstall; + return; + else + foundMakefile=1; + fi; + if [ -n "$prefix" ]; then + mkdir -p "$prefix"; + fi; + local flagsArray=(${enableParallelInstalling:+-j${NIX_BUILD_CORES}} SHELL="$SHELL"); + concatTo flagsArray makeFlags makeFlagsArray installFlags installFlagsArray installTargets=install; + echoCmd 'install flags' "${flagsArray[@]}"; + make ${makefile:+-f $makefile} "${flagsArray[@]}"; + unset flagsArray; + runHook postInstall +} +isELF () +{ + + local fn="$1"; + local fd; + local magic; + exec {fd}< "$fn"; + read -r -n 4 -u "$fd" magic; + exec {fd}>&-; + if [ "$magic" = 'ELF' ]; then + return 0; + else + return 1; + fi +} +isMachO () +{ + + local fn="$1"; + local fd; + local magic; + exec {fd}< "$fn"; + read -r -n 4 -u "$fd" magic; + exec {fd}>&-; + if [[ "$magic" = $(echo -ne "\xfe\xed\xfa\xcf") || "$magic" = $(echo -ne "\xcf\xfa\xed\xfe") ]]; then + return 0; + else + if [[ "$magic" = $(echo -ne "\xfe\xed\xfa\xce") || "$magic" = $(echo -ne "\xce\xfa\xed\xfe") ]]; then + return 0; + else + if [[ "$magic" = $(echo -ne "\xca\xfe\xba\xbe") || "$magic" = $(echo -ne "\xbe\xba\xfe\xca") ]]; then + return 0; + else + return 1; + fi; + fi; + fi +} +isScript () +{ + + local fn="$1"; + local fd; + local magic; + exec {fd}< "$fn"; + read -r -n 2 -u "$fd" magic; + exec {fd}>&-; + if [[ "$magic" =~ \#! ]]; then + return 0; + else + return 1; + fi +} +mapOffset () +{ + + local -r inputOffset="$1"; + local -n outputOffset="$2"; + if (( inputOffset <= 0 )); then + outputOffset=$((inputOffset + hostOffset)); + else + outputOffset=$((inputOffset - 1 + targetOffset)); + fi +} +moveToOutput () +{ + + local patt="$1"; + local dstOut="$2"; + local output; + for output in $(getAllOutputNames); + do + if [ "${!output}" = "$dstOut" ]; then + continue; + fi; + local srcPath; + for srcPath in "${!output}"/$patt; + do + if [ ! -e "$srcPath" ] && [ ! -L "$srcPath" ]; then + continue; + fi; + if [ "$dstOut" = REMOVE ]; then + echo "Removing $srcPath"; + rm -r "$srcPath"; + else + local dstPath="$dstOut${srcPath#${!output}}"; + echo "Moving $srcPath to $dstPath"; + if [ -d "$dstPath" ] && [ -d "$srcPath" ]; then + rmdir "$srcPath" --ignore-fail-on-non-empty; + if [ -d "$srcPath" ]; then + mv -t "$dstPath" "$srcPath"/*; + rmdir "$srcPath"; + fi; + else + mkdir -p "$(readlink -m "$dstPath/..")"; + mv "$srcPath" "$dstPath"; + fi; + fi; + local srcParent="$(readlink -m "$srcPath/..")"; + if [ -n "$(find "$srcParent" -maxdepth 0 -type d -empty 2> /dev/null)" ]; then + echo "Removing empty $srcParent/ and (possibly) its parents"; + rmdir -p --ignore-fail-on-non-empty "$srcParent" 2> /dev/null || true; + fi; + done; + done +} +nixChattyLog () +{ + + if [[ -z ${NIX_LOG_FD-} ]] || [[ ${NIX_DEBUG:-0} -lt 5 ]]; then + return; + fi; + printf "%s\n" "$*" >&"$NIX_LOG_FD" +} +nixDebugLog () +{ + + if [[ -z ${NIX_LOG_FD-} ]] || [[ ${NIX_DEBUG:-0} -lt 6 ]]; then + return; + fi; + printf "%s\n" "$*" >&"$NIX_LOG_FD" +} +nixErrorLog () +{ + + if [[ -z ${NIX_LOG_FD-} ]] || [[ ${NIX_DEBUG:-0} -lt 0 ]]; then + return; + fi; + printf "%s\n" "$*" >&"$NIX_LOG_FD" +} +nixInfoLog () +{ + + if [[ -z ${NIX_LOG_FD-} ]] || [[ ${NIX_DEBUG:-0} -lt 3 ]]; then + return; + fi; + printf "%s\n" "$*" >&"$NIX_LOG_FD" +} +nixNoticeLog () +{ + + if [[ -z ${NIX_LOG_FD-} ]] || [[ ${NIX_DEBUG:-0} -lt 2 ]]; then + return; + fi; + printf "%s\n" "$*" >&"$NIX_LOG_FD" +} +nixTalkativeLog () +{ + + if [[ -z ${NIX_LOG_FD-} ]] || [[ ${NIX_DEBUG:-0} -lt 4 ]]; then + return; + fi; + printf "%s\n" "$*" >&"$NIX_LOG_FD" +} +nixVomitLog () +{ + + if [[ -z ${NIX_LOG_FD-} ]] || [[ ${NIX_DEBUG:-0} -lt 7 ]]; then + return; + fi; + printf "%s\n" "$*" >&"$NIX_LOG_FD" +} +nixWarnLog () +{ + + if [[ -z ${NIX_LOG_FD-} ]] || [[ ${NIX_DEBUG:-0} -lt 1 ]]; then + return; + fi; + printf "%s\n" "$*" >&"$NIX_LOG_FD" +} +patchELF () +{ + + local dir="$1"; + [ -e "$dir" ] || return 0; + echo "shrinking RPATHs of ELF executables and libraries in $dir"; + local i; + while IFS= read -r -d '' i; do + if [[ "$i" =~ .build-id ]]; then + continue; + fi; + if ! isELF "$i"; then + continue; + fi; + echo "shrinking $i"; + patchelf --shrink-rpath "$i" || true; + done < <(find "$dir" -type f -print0) +} +patchPhase () +{ + + runHook prePatch; + local -a patchesArray; + concatTo patchesArray patches; + for i in "${patchesArray[@]}"; + do + echo "applying patch $i"; + local uncompress=cat; + case "$i" in + *.gz) + uncompress="gzip -d" + ;; + *.bz2) + uncompress="bzip2 -d" + ;; + *.xz) + uncompress="xz -d" + ;; + *.lzma) + uncompress="lzma -d" + ;; + esac; + local -a flagsArray; + concatTo flagsArray patchFlags=-p1; + $uncompress < "$i" 2>&1 | patch "${flagsArray[@]}"; + done; + runHook postPatch +} +patchShebangs () +{ + + local pathName; + local update; + while [[ $# -gt 0 ]]; do + case "$1" in + --host) + pathName=HOST_PATH; + shift + ;; + --build) + pathName=PATH; + shift + ;; + --update) + update=true; + shift + ;; + --) + shift; + break + ;; + -* | --*) + echo "Unknown option $1 supplied to patchShebangs" 1>&2; + return 1 + ;; + *) + break + ;; + esac; + done; + echo "patching script interpreter paths in $@"; + local f; + local oldPath; + local newPath; + local arg0; + local args; + local oldInterpreterLine; + local newInterpreterLine; + if [[ $# -eq 0 ]]; then + echo "No arguments supplied to patchShebangs" 1>&2; + return 0; + fi; + local f; + while IFS= read -r -d '' f; do + isScript "$f" || continue; + read -r oldInterpreterLine < "$f" || [ "$oldInterpreterLine" ]; + read -r oldPath arg0 args <<< "${oldInterpreterLine:2}"; + if [[ -z "${pathName:-}" ]]; then + if [[ -n $strictDeps && $f == "$NIX_STORE"* ]]; then + pathName=HOST_PATH; + else + pathName=PATH; + fi; + fi; + if [[ "$oldPath" == *"/bin/env" ]]; then + if [[ $arg0 == "-S" ]]; then + arg0=${args%% *}; + args=${args#* }; + newPath="$(PATH="${!pathName}" type -P "env" || true)"; + args="-S $(PATH="${!pathName}" type -P "$arg0" || true) $args"; + else + if [[ $arg0 == "-"* || $arg0 == *"="* ]]; then + echo "$f: unsupported interpreter directive \"$oldInterpreterLine\" (set dontPatchShebangs=1 and handle shebang patching yourself)" 1>&2; + exit 1; + else + newPath="$(PATH="${!pathName}" type -P "$arg0" || true)"; + fi; + fi; + else + if [[ -z $oldPath ]]; then + oldPath="/bin/sh"; + fi; + newPath="$(PATH="${!pathName}" type -P "$(basename "$oldPath")" || true)"; + args="$arg0 $args"; + fi; + newInterpreterLine="$newPath $args"; + newInterpreterLine=${newInterpreterLine%${newInterpreterLine##*[![:space:]]}}; + if [[ -n "$oldPath" && ( "$update" == true || "${oldPath:0:${#NIX_STORE}}" != "$NIX_STORE" ) ]]; then + if [[ -n "$newPath" && "$newPath" != "$oldPath" ]]; then + echo "$f: interpreter directive changed from \"$oldInterpreterLine\" to \"$newInterpreterLine\""; + escapedInterpreterLine=${newInterpreterLine//\\/\\\\}; + timestamp=$(stat --printf "%y" "$f"); + sed -i -e "1 s|.*|#\!$escapedInterpreterLine|" "$f"; + touch --date "$timestamp" "$f"; + fi; + fi; + done < <(find "$@" -type f -perm -0100 -print0) +} +patchShebangsAuto () +{ + + if [[ -z "${dontPatchShebangs-}" && -e "$prefix" ]]; then + if [[ "$output" != out && "$output" = "$outputDev" ]]; then + patchShebangs --build "$prefix"; + else + patchShebangs --host "$prefix"; + fi; + fi +} +prependToVar () +{ + + local -n nameref="$1"; + local useArray type; + if [ -n "$__structuredAttrs" ]; then + useArray=true; + else + useArray=false; + fi; + if type=$(declare -p "$1" 2> /dev/null); then + case "${type#* }" in + -A*) + echo "prependToVar(): ERROR: trying to use prependToVar on an associative array." 1>&2; + return 1 + ;; + -a*) + useArray=true + ;; + *) + useArray=false + ;; + esac; + fi; + shift; + if $useArray; then + nameref=("$@" ${nameref+"${nameref[@]}"}); + else + nameref="$* ${nameref-}"; + fi +} +printLines () +{ + + (( "$#" > 0 )) || return 0; + printf '%s\n' "$@" +} +printWords () +{ + + (( "$#" > 0 )) || return 0; + printf '%s ' "$@" +} +recordPropagatedDependencies () +{ + + declare -ra flatVars=(depsBuildBuildPropagated propagatedNativeBuildInputs depsBuildTargetPropagated depsHostHostPropagated propagatedBuildInputs depsTargetTargetPropagated); + declare -ra flatFiles=("${propagatedBuildDepFiles[@]}" "${propagatedHostDepFiles[@]}" "${propagatedTargetDepFiles[@]}"); + local propagatedInputsIndex; + for propagatedInputsIndex in "${!flatVars[@]}"; + do + local propagatedInputsSlice="${flatVars[$propagatedInputsIndex]}[@]"; + local propagatedInputsFile="${flatFiles[$propagatedInputsIndex]}"; + [[ -n "${!propagatedInputsSlice}" ]] || continue; + mkdir -p "${!outputDev}/nix-support"; + printWords ${!propagatedInputsSlice} > "${!outputDev}/nix-support/$propagatedInputsFile"; + done +} +runHook () +{ + + local hookName="$1"; + shift; + local hooksSlice="${hookName%Hook}Hooks[@]"; + local hook; + for hook in "_callImplicitHook 0 $hookName" ${!hooksSlice+"${!hooksSlice}"}; + do + _logHook "$hookName" "$hook" "$@"; + _eval "$hook" "$@"; + done; + return 0 +} +runOneHook () +{ + + local hookName="$1"; + shift; + local hooksSlice="${hookName%Hook}Hooks[@]"; + local hook ret=1; + for hook in "_callImplicitHook 1 $hookName" ${!hooksSlice+"${!hooksSlice}"}; + do + _logHook "$hookName" "$hook" "$@"; + if _eval "$hook" "$@"; then + ret=0; + break; + fi; + done; + return "$ret" +} +runPhase () +{ + + local curPhase="$*"; + if [[ "$curPhase" = unpackPhase && -n "${dontUnpack:-}" ]]; then + return; + fi; + if [[ "$curPhase" = patchPhase && -n "${dontPatch:-}" ]]; then + return; + fi; + if [[ "$curPhase" = configurePhase && -n "${dontConfigure:-}" ]]; then + return; + fi; + if [[ "$curPhase" = buildPhase && -n "${dontBuild:-}" ]]; then + return; + fi; + if [[ "$curPhase" = checkPhase && -z "${doCheck:-}" ]]; then + return; + fi; + if [[ "$curPhase" = installPhase && -n "${dontInstall:-}" ]]; then + return; + fi; + if [[ "$curPhase" = fixupPhase && -n "${dontFixup:-}" ]]; then + return; + fi; + if [[ "$curPhase" = installCheckPhase && -z "${doInstallCheck:-}" ]]; then + return; + fi; + if [[ "$curPhase" = distPhase && -z "${doDist:-}" ]]; then + return; + fi; + showPhaseHeader "$curPhase"; + dumpVars; + local startTime endTime; + startTime=$(date +"%s"); + eval "${!curPhase:-$curPhase}"; + endTime=$(date +"%s"); + showPhaseFooter "$curPhase" "$startTime" "$endTime"; + if [ "$curPhase" = unpackPhase ]; then + [ -n "${sourceRoot:-}" ] && chmod +x -- "${sourceRoot}"; + cd -- "${sourceRoot:-.}"; + fi +} +showPhaseFooter () +{ + + local phase="$1"; + local startTime="$2"; + local endTime="$3"; + local delta=$(( endTime - startTime )); + (( delta < 30 )) && return; + local H=$((delta/3600)); + local M=$((delta%3600/60)); + local S=$((delta%60)); + echo -n "$phase completed in "; + (( H > 0 )) && echo -n "$H hours "; + (( M > 0 )) && echo -n "$M minutes "; + echo "$S seconds" +} +showPhaseHeader () +{ + + local phase="$1"; + echo "Running phase: $phase"; + if [[ -z ${NIX_LOG_FD-} ]]; then + return; + fi; + printf "@nix { \"action\": \"setPhase\", \"phase\": \"%s\" }\n" "$phase" >&"$NIX_LOG_FD" +} +stripDirs () +{ + + local cmd="$1"; + local ranlibCmd="$2"; + local paths="$3"; + local stripFlags="$4"; + local excludeFlags=(); + local pathsNew=; + [ -z "$cmd" ] && echo "stripDirs: Strip command is empty" 1>&2 && exit 1; + [ -z "$ranlibCmd" ] && echo "stripDirs: Ranlib command is empty" 1>&2 && exit 1; + local pattern; + if [ -n "${stripExclude:-}" ]; then + for pattern in "${stripExclude[@]}"; + do + excludeFlags+=(-a '!' '(' -name "$pattern" -o -wholename "$prefix/$pattern" ')'); + done; + fi; + local p; + for p in ${paths}; + do + if [ -e "$prefix/$p" ]; then + pathsNew="${pathsNew} $prefix/$p"; + fi; + done; + paths=${pathsNew}; + if [ -n "${paths}" ]; then + echo "stripping (with command $cmd and flags $stripFlags) in $paths"; + local striperr; + striperr="$(mktemp --tmpdir="$TMPDIR" 'striperr.XXXXXX')"; + find $paths -type f "${excludeFlags[@]}" -a '!' -path "$prefix/lib/debug/*" -printf '%D-%i,%p\0' | sort -t, -k1,1 -u -z | cut -d, -f2- -z | xargs -r -0 -n1 -P "$NIX_BUILD_CORES" -- $cmd $stripFlags 2> "$striperr" || exit_code=$?; + [[ "$exit_code" = 123 || -z "$exit_code" ]] || ( cat "$striperr" 1>&2 && exit 1 ); + rm "$striperr"; + find $paths -name '*.a' -type f -exec $ranlibCmd '{}' \; 2> /dev/null; + fi +} +stripHash () +{ + + local strippedName casematchOpt=0; + strippedName="$(basename -- "$1")"; + shopt -q nocasematch && casematchOpt=1; + shopt -u nocasematch; + if [[ "$strippedName" =~ ^[a-z0-9]{32}- ]]; then + echo "${strippedName:33}"; + else + echo "$strippedName"; + fi; + if (( casematchOpt )); then + shopt -s nocasematch; + fi +} +substitute () +{ + + local input="$1"; + local output="$2"; + shift 2; + if [ ! -f "$input" ]; then + echo "substitute(): ERROR: file '$input' does not exist" 1>&2; + return 1; + fi; + local content; + consumeEntire content < "$input"; + if [ -e "$output" ]; then + chmod +w "$output"; + fi; + substituteStream content "file '$input'" "$@" > "$output" +} +substituteAll () +{ + + local input="$1"; + local output="$2"; + local -a args=(); + _allFlags; + substitute "$input" "$output" "${args[@]}" +} +substituteAllInPlace () +{ + + local fileName="$1"; + shift; + substituteAll "$fileName" "$fileName" "$@" +} +substituteAllStream () +{ + + local -a args=(); + _allFlags; + substituteStream "$1" "$2" "${args[@]}" +} +substituteInPlace () +{ + + local -a fileNames=(); + for arg in "$@"; + do + if [[ "$arg" = "--"* ]]; then + break; + fi; + fileNames+=("$arg"); + shift; + done; + if ! [[ "${#fileNames[@]}" -gt 0 ]]; then + echo "substituteInPlace called without any files to operate on (files must come before options!)" 1>&2; + return 1; + fi; + for file in "${fileNames[@]}"; + do + substitute "$file" "$file" "$@"; + done +} +substituteStream () +{ + + local var=$1; + local description=$2; + shift 2; + while (( "$#" )); do + local replace_mode="$1"; + case "$1" in + --replace) + if ! "$_substituteStream_has_warned_replace_deprecation"; then + echo "substituteStream() in derivation $name: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. ($description)" 1>&2; + _substituteStream_has_warned_replace_deprecation=true; + fi; + replace_mode='--replace-warn' + ;& + --replace-quiet | --replace-warn | --replace-fail) + pattern="$2"; + replacement="$3"; + shift 3; + local savedvar; + savedvar="${!var}"; + eval "$var"'=${'"$var"'//"$pattern"/"$replacement"}'; + if [ "$pattern" != "$replacement" ]; then + if [ "${!var}" == "$savedvar" ]; then + if [ "$replace_mode" == --replace-warn ]; then + printf "substituteStream() in derivation $name: WARNING: pattern %q doesn't match anything in %s\n" "$pattern" "$description" 1>&2; + else + if [ "$replace_mode" == --replace-fail ]; then + printf "substituteStream() in derivation $name: ERROR: pattern %q doesn't match anything in %s\n" "$pattern" "$description" 1>&2; + return 1; + fi; + fi; + fi; + fi + ;; + --subst-var) + local varName="$2"; + shift 2; + if ! [[ "$varName" =~ ^[a-zA-Z_][a-zA-Z0-9_]*$ ]]; then + echo "substituteStream() in derivation $name: ERROR: substitution variables must be valid Bash names, \"$varName\" isn't." 1>&2; + return 1; + fi; + if [ -z ${!varName+x} ]; then + echo "substituteStream() in derivation $name: ERROR: variable \$$varName is unset" 1>&2; + return 1; + fi; + pattern="@$varName@"; + replacement="${!varName}"; + eval "$var"'=${'"$var"'//"$pattern"/"$replacement"}' + ;; + --subst-var-by) + pattern="@$2@"; + replacement="$3"; + eval "$var"'=${'"$var"'//"$pattern"/"$replacement"}'; + shift 3 + ;; + *) + echo "substituteStream() in derivation $name: ERROR: Invalid command line argument: $1" 1>&2; + return 1 + ;; + esac; + done; + printf "%s" "${!var}" +} +unpackFile () +{ + + curSrc="$1"; + echo "unpacking source archive $curSrc"; + if ! runOneHook unpackCmd "$curSrc"; then + echo "do not know how to unpack source archive $curSrc"; + exit 1; + fi +} +unpackPhase () +{ + + runHook preUnpack; + if [ -z "${srcs:-}" ]; then + if [ -z "${src:-}" ]; then + echo 'variable $src or $srcs should point to the source'; + exit 1; + fi; + srcs="$src"; + fi; + local -a srcsArray; + concatTo srcsArray srcs; + local dirsBefore=""; + for i in *; + do + if [ -d "$i" ]; then + dirsBefore="$dirsBefore $i "; + fi; + done; + for i in "${srcsArray[@]}"; + do + unpackFile "$i"; + done; + : "${sourceRoot=}"; + if [ -n "${setSourceRoot:-}" ]; then + runOneHook setSourceRoot; + else + if [ -z "$sourceRoot" ]; then + for i in *; + do + if [ -d "$i" ]; then + case $dirsBefore in + *\ $i\ *) + + ;; + *) + if [ -n "$sourceRoot" ]; then + echo "unpacker produced multiple directories"; + exit 1; + fi; + sourceRoot="$i" + ;; + esac; + fi; + done; + fi; + fi; + if [ -z "$sourceRoot" ]; then + echo "unpacker appears to have produced no directories"; + exit 1; + fi; + echo "source root is $sourceRoot"; + if [ "${dontMakeSourcesWritable:-0}" != 1 ]; then + chmod -R u+w -- "$sourceRoot"; + fi; + runHook postUnpack +} +updateAutotoolsGnuConfigScriptsPhase () +{ + + if [ -n "${dontUpdateAutotoolsGnuConfigScripts-}" ]; then + return; + fi; + for script in config.sub config.guess; + do + for f in $(find . -type f -name "$script"); + do + echo "Updating Autotools / GNU config script to a newer upstream version: $f"; + cp -f "/nix/store/1m67ipsk39xvhyqrxnzv2m2p48pil8kl-gnu-config-2024-01-01/$script" "$f"; + done; + done +} +updateSourceDateEpoch () +{ + + local path="$1"; + [[ $path == -* ]] && path="./$path"; + local -a res=($(find "$path" -type f -not -newer "$NIX_BUILD_TOP/.." -printf '%T@ %p\0' | sort -n --zero-terminated | tail -n1 --zero-terminated | head -c -1)); + local time="${res[0]//\.[0-9]*/}"; + local newestFile="${res[1]}"; + if [ "${time:-0}" -gt "$SOURCE_DATE_EPOCH" ]; then + echo "setting SOURCE_DATE_EPOCH to timestamp $time of file $newestFile"; + export SOURCE_DATE_EPOCH="$time"; + local now="$(date +%s)"; + if [ "$time" -gt $((now - 60)) ]; then + echo "warning: file $newestFile may be generated; SOURCE_DATE_EPOCH may be non-deterministic"; + fi; + fi +} +PATH="$PATH${nix_saved_PATH:+:$nix_saved_PATH}" +XDG_DATA_DIRS="$XDG_DATA_DIRS${nix_saved_XDG_DATA_DIRS:+:$nix_saved_XDG_DATA_DIRS}" +export NIX_BUILD_TOP="$(mktemp -d -t nix-shell.XXXXXX)" +export TMP="$NIX_BUILD_TOP" +export TMPDIR="$NIX_BUILD_TOP" +export TEMP="$NIX_BUILD_TOP" +export TEMPDIR="$NIX_BUILD_TOP" +eval "${shellHook:-}" diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.packwizignore b/.packwizignore new file mode 100644 index 0000000..d42a7fc --- /dev/null +++ b/.packwizignore @@ -0,0 +1,8 @@ +.direnv +flake.nix +.envrc +flake.lock +LICENSE +README.org +.git +.gitignore diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..da00b89 --- /dev/null +++ b/flake.lock @@ -0,0 +1,23 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 0, + "narHash": "sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc+c2c=", + "path": "/nix/store/v0g0bxsd5gw6k0jz2855f8h7l1218925-source", + "type": "path" + }, + "original": { + "id": "nixpkgs", + "type": "indirect" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..34052de --- /dev/null +++ b/flake.nix @@ -0,0 +1,12 @@ +{ + outputs = {nixpkgs, ...}: let + system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; + in { + devShells.${system}.default = pkgs.mkShell { + packages = [ + pkgs.packwiz + ]; + }; + }; +} diff --git a/index.toml b/index.toml new file mode 100644 index 0000000..9bd247f --- /dev/null +++ b/index.toml @@ -0,0 +1,305 @@ +hash-format = "sha256" + +[[files]] +file = "README.md" +hash = "80fb2a4085509a4b6bd938b7f5e38d836bce859df9a276970d4f640cfaac7029" + +[[files]] +file = "mods/3dskinlayers.pw.toml" +hash = "e648a83707d4ddfedd27a6459c32853e4565f19eaa388246484857c053444930" +metafile = true + +[[files]] +file = "mods/almanac.pw.toml" +hash = "416c089224a401ec7c0ef60ae6f1f8555e783f89ec6aba49d72f41c58d7955d2" +metafile = true + +[[files]] +file = "mods/alternate-current.pw.toml" +hash = "54e171ca3f1f39eba38186a9a5ce6901eb12be05341d76956adff63805d79225" +metafile = true + +[[files]] +file = "mods/animaticareforged.pw.toml" +hash = "b1cb53c239ace70950cdd5e47ee53b965e339fe19a34ebff96388bba93a97ade" +metafile = true + +[[files]] +file = "mods/appleskin.pw.toml" +hash = "793693a85f3c87d4e899ee0c58deabc53690bf5a70f17343f28fd5063ce8a1e1" +metafile = true + +[[files]] +file = "mods/athena-ctm.pw.toml" +hash = "e11ddca37c00c8cdf8ee89c7b59df544f50966d2d6c5b016916f023afb98c02e" +metafile = true + +[[files]] +file = "mods/attributefix.pw.toml" +hash = "258431b158c3adc8e7bf4ac8ea9cec20def2e3c373294488d72c238bcbd7538a" +metafile = true + +[[files]] +file = "mods/bad-wither-no-cookie.pw.toml" +hash = "0a80e045329dc8e191f81dd4fa2cacfeff65715e990d2819650d1d83308d2bc4" +metafile = true + +[[files]] +file = "mods/badoptimizations.pw.toml" +hash = "e0cf59ae504142b4c4e6e702cc3209e0d6c37ca428d6d0b15a40d430c0b4364d" +metafile = true + +[[files]] +file = "mods/big-contraptions.pw.toml" +hash = "76bd79efa8a74ead2c6984d01fc313a1175225493d6cfddd954a54cabb7d1d2d" +metafile = true + +[[files]] +file = "mods/chat-heads.pw.toml" +hash = "18dfa8c25fd0fe7eebf58a32c76793a717dcab9c4e8f2af606dbf5857ba6aff7" +metafile = true + +[[files]] +file = "mods/chunky.pw.toml" +hash = "0e17f9758f6f67ef87aa6f8d5afc47901521a05904cd8470ef65063b48e69d73" +metafile = true + +[[files]] +file = "mods/clumps.pw.toml" +hash = "903352ffbd84d4b95fed905893f4715d9c3f88ec9fff6fb06f6e359e0b839dc3" +metafile = true + +[[files]] +file = "mods/connector.pw.toml" +hash = "852ee3d5dea735c0c8f4c030edb06164863e7d27eef535c697f86a8b20a1cff0" +metafile = true + +[[files]] +file = "mods/connectored-c2me-(c2me-fork-for-connector).pw.toml" +hash = "29707b0d591793d493d2378181d247358c00fc51bd77668b63cda8aa6f8c343d" +metafile = true + +[[files]] +file = "mods/controlling.pw.toml" +hash = "4063abe583282834b2f78e3b3e6b9ee4d231a680f74c020e405a4ef196f21ee4" +metafile = true + +[[files]] +file = "mods/coroutil.pw.toml" +hash = "b2c7739b56ef71f50a86658cfa67375796beafd391c4dbe26a5de8cd92b9b685" +metafile = true + +[[files]] +file = "mods/cubes-without-borders.pw.toml" +hash = "ac4cbd7785b8c70de4037162d6626910633e6b997c957e90de961316716e8402" +metafile = true + +[[files]] +file = "mods/cull-less-leaves-reforged.pw.toml" +hash = "df9ee07891e8347da9c0eef226a2043ab9299fdc8b2350c93a78af9c37455ee7" +metafile = true + +[[files]] +file = "mods/distanthorizons.pw.toml" +hash = "5f6c35eca0fde396c1ece31de3c4f360bfbac90a3654f4cd1bf88d275c136908" +metafile = true + +[[files]] +file = "mods/dynamic-fps.pw.toml" +hash = "560c2f4d64b502787bd5c2ab9e9b41cef6a04bb487cec7a6d3c85bc550539aeb" +metafile = true + +[[files]] +file = "mods/ebe-forge.pw.toml" +hash = "54c84727c0d0423a3d7f0049bd3b1b7d9136ff1f41ce5fc83d6c29c6119ea4b0" +metafile = true + +[[files]] +file = "mods/embeddium.pw.toml" +hash = "5ec0c37f3f4ad07a40c10376668bca80334ddb7ad2bab06eb4de8f7aac339c8e" +metafile = true + +[[files]] +file = "mods/embeddiumplus.pw.toml" +hash = "5cc23a02788b472e556a8769fd7e9d8249f5a2998df2505243e17875cfa3dc18" +metafile = true + +[[files]] +file = "mods/emi.pw.toml" +hash = "7446c9b79c6b9cfce8f71df730bc060a57cfcb9ccba885f72f076d5bf478252a" +metafile = true + +[[files]] +file = "mods/entity-model-features.pw.toml" +hash = "14ddf6bc740ded7825a455f90f0045ed3b4c2e65168565715daaff8532da5dbd" +metafile = true + +[[files]] +file = "mods/entityculling.pw.toml" +hash = "738bca478ab07a0273e2f9ba8ca292dc1381d8e5860f15fbd3d25a7d26a3a949" +metafile = true + +[[files]] +file = "mods/entitytexturefeatures.pw.toml" +hash = "cc4926dece87e61770569a0c558f3c2e674e036a92939afe93058d8c4263b96f" +metafile = true + +[[files]] +file = "mods/euphonium.pw.toml" +hash = "9444c556d19cc0b521c9a923ca75696234e17e84b2b78fa421a28f311486210a" +metafile = true + +[[files]] +file = "mods/fastquit-forge.pw.toml" +hash = "710a1cc6aa24e68ba6c4cb93d686b17688d093ff7baecc1d0fa3036a3426ff35" +metafile = true + +[[files]] +file = "mods/ferrite-core.pw.toml" +hash = "902bac905b93271f02bd0951a22bac06a3da24f5c237fcaeb469e14a7679e508" +metafile = true + +[[files]] +file = "mods/forgified-fabric-api.pw.toml" +hash = "55cfba35c153fb922dd2d52b24fa163b040dee11be2fdff6656093a919c69ca0" +metafile = true + +[[files]] +file = "mods/fzzy-config.pw.toml" +hash = "f8abcb408dbf46fee1a5023f342e952ff9f2515a00701694ca69df7c430b3125" +metafile = true + +[[files]] +file = "mods/gputape.pw.toml" +hash = "1387ef602151f4cadd0b1862f28d07282f1ea5f563e96fdd721a08a62b67f5b9" +metafile = true + +[[files]] +file = "mods/immediatelyfast.pw.toml" +hash = "835bd8b05a05ce6c0981ddc37c49e4c476aa0414cc2a5321fd9f8994193b6feb" +metafile = true + +[[files]] +file = "mods/iris-flw-compat.pw.toml" +hash = "03c55a1cbe4e547abba255cd02d157cb0ce3f8b782daa33797048061751b0f55" +metafile = true + +[[files]] +file = "mods/jade.pw.toml" +hash = "7f6c0ca162ebadc819fa2fe5d925daec6144d3480a6d75c769a72b8b46b78f9f" +metafile = true + +[[files]] +file = "mods/kotlin-for-forge.pw.toml" +hash = "7ea985404ee4cc9082472c6869ec146309f526e395361b39f2f4c1a43506c41d" +metafile = true + +[[files]] +file = "mods/lazurite.pw.toml" +hash = "b95059ab0584d1dc859a50902ef17e89fb28413ad5af0646cdcc4f83fdeeb3fc" +metafile = true + +[[files]] +file = "mods/lmd.pw.toml" +hash = "33d293e7827a0b6c529152b36d51498a33280ab6c3831a8ca8a7ce73f62b655c" +metafile = true + +[[files]] +file = "mods/memoryleakfix.pw.toml" +hash = "ade41e4315735aa9116a0222b332e03d3f8df6eea301764d40d0bdc40f5e8689" +metafile = true + +[[files]] +file = "mods/mobtimizations.pw.toml" +hash = "18e911c5a0308b2b6bcde2e4c4ac0cf1ff6d2a7b9d4e82ba4c80d97ae0b2a79e" +metafile = true + +[[files]] +file = "mods/modelfix.pw.toml" +hash = "ab170eabaeec3e80c59e850a7d8aee32edfffd6a1e40e2c2f44575c69d122054" +metafile = true + +[[files]] +file = "mods/modernfix.pw.toml" +hash = "dcd4e240c0a28f6f1f7899aa3c80193894791e7a44b7759e22787cf24f83ea1f" +metafile = true + +[[files]] +file = "mods/moremcmeta-emissive.pw.toml" +hash = "2c70f2ae708875c837565551cf841779376a227706c28cd567cb82d02d25c1c8" +metafile = true + +[[files]] +file = "mods/moremcmeta.pw.toml" +hash = "5b5ee0d0e1c52f5fadae52a4550f33e640521950f6ab47042aadd508254c8930" +metafile = true + +[[files]] +file = "mods/mouse-tweaks.pw.toml" +hash = "679fa8f3b49b9ed3fbcb29d6ccdb99bce465faa01f9cec000464ac8d4fbe134f" +metafile = true + +[[files]] +file = "mods/noisium.pw.toml" +hash = "c18dd089c44103b56f8edcbd41a071e41a1fcd46094b2c93df5cc5f07853f18b" +metafile = true + +[[files]] +file = "mods/oculus.pw.toml" +hash = "f83b253ca6a8e6f2f847952704da0e1fb00e65cbb10b7c9cb15d1a1780618da0" +metafile = true + +[[files]] +file = "mods/particle-core.pw.toml" +hash = "650afa0a6b854b46bbf1d088cbe51d800b6a71fa9f4491a6a1e6021256841a90" +metafile = true + +[[files]] +file = "mods/potacore.pw.toml" +hash = "4bb53ae182c129cae93307a5cb9a87f75db994d0e537127a0edad4105ad8a425" +metafile = true + +[[files]] +file = "mods/radium.pw.toml" +hash = "bbdd40b650286973d44b1931d4b8c4bcc02b02f2c5583545709347503bd13057" +metafile = true + +[[files]] +file = "mods/rrls.pw.toml" +hash = "35c4484a3bd6b9055f3f944ed8bdc27fb8c62a385277b9e7f89fd19bccfa4191" +metafile = true + +[[files]] +file = "mods/rubidium-extra.pw.toml" +hash = "817b4a47826bd99c69957fe07131d5704984f89fec96287cdc20c6fbe46100cf" +metafile = true + +[[files]] +file = "mods/saturn.pw.toml" +hash = "3602f220a9d98e89d44168a6e84dc7bb169fb8b8209b4b966288d1fa1c3650bc" +metafile = true + +[[files]] +file = "mods/searchables.pw.toml" +hash = "b8c7497acbf4890b4609b6b20de7affdd3482fc99af975d9ff6b29c075e1d8a7" +metafile = true + +[[files]] +file = "mods/shut-up-gl-error.pw.toml" +hash = "44492a7f6bc1870da06704670fbf8b1bbe1c9afe22da9b7184622624b15ed147" +metafile = true + +[[files]] +file = "mods/sodium-dynamic-lights.pw.toml" +hash = "82bb7cd6c8b68bb1831bb7c374bd316b6403cd01195d582f19c31076c908953a" +metafile = true + +[[files]] +file = "mods/sodium-options-api.pw.toml" +hash = "75a60e6b443b351b7a4a78ffce7c71e44b3e20ca10c374aea1de516c785d6e2d" +metafile = true + +[[files]] +file = "mods/sound-physics-remastered.pw.toml" +hash = "22d87bf80a28cce7cbb0a92365d058ae2e77193528b53d318dcecac75d33c587" +metafile = true diff --git a/mods/3dskinlayers.pw.toml b/mods/3dskinlayers.pw.toml new file mode 100644 index 0000000..ece94a5 --- /dev/null +++ b/mods/3dskinlayers.pw.toml @@ -0,0 +1,13 @@ +name = "3D Skin Layers" +filename = "skinlayers3d-forge-1.7.4-mc1.20.1.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/zV5r3pPn/versions/VM4DBhDl/skinlayers3d-forge-1.7.4-mc1.20.1.jar" +hash-format = "sha512" +hash = "9f09e047f0f5e0de52daa795630a1390db4177453bdeb091adb8088686fbea0f103ef5bbd533103b06561d112c0187d70c2ef1541bfb60a595ede7e5f4247438" + +[update] +[update.modrinth] +mod-id = "zV5r3pPn" +version = "VM4DBhDl" diff --git a/mods/almanac.pw.toml b/mods/almanac.pw.toml new file mode 100644 index 0000000..b637570 --- /dev/null +++ b/mods/almanac.pw.toml @@ -0,0 +1,13 @@ +name = "Almanac" +filename = "almanac-1.20.x-forge-1.0.2.jar" +side = "server" + +[download] +url = "https://cdn.modrinth.com/data/Gi02250Z/versions/DnzrwvfD/almanac-1.20.x-forge-1.0.2.jar" +hash-format = "sha512" +hash = "58c4dea50fcb17593e2c97a23ce101c62b5b32e2fd71d4bbf323f2778d4474c991caba7234ecf4d06f1e246ccb9ad7f67f2fa73f023cd80ef55333e2ed952f43" + +[update] +[update.modrinth] +mod-id = "Gi02250Z" +version = "DnzrwvfD" diff --git a/mods/alternate-current.pw.toml b/mods/alternate-current.pw.toml new file mode 100644 index 0000000..5f12a54 --- /dev/null +++ b/mods/alternate-current.pw.toml @@ -0,0 +1,13 @@ +name = "Alternate Current" +filename = "alternate_current-mc1.20-1.7.0.jar" +side = "server" + +[download] +url = "https://cdn.modrinth.com/data/r0v8vy1s/versions/kC6SY4Zp/alternate_current-mc1.20-1.7.0.jar" +hash-format = "sha512" +hash = "d9ae21a3a389c63466bf22b36d4a78c859f30c901397622f1f1438737901a2c67e4d911c83831e0d4f1edabf0b86b58f4192d9980ecef8278393fd4af64a9585" + +[update] +[update.modrinth] +mod-id = "r0v8vy1s" +version = "kC6SY4Zp" diff --git a/mods/animaticareforged.pw.toml b/mods/animaticareforged.pw.toml new file mode 100644 index 0000000..93d7441 --- /dev/null +++ b/mods/animaticareforged.pw.toml @@ -0,0 +1,13 @@ +name = "AnimaticaReforged" +filename = "AnimaticaReforged-1.20.1-0.1.3.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/6ABF6Pv3/versions/ljlLeJlN/AnimaticaReforged-1.20.1-0.1.3.jar" +hash-format = "sha512" +hash = "90d2b59d2c609d75ceb0d3356eca8408154623d5e6b87282bf01061ab104bb45c3b8255df1e010fcd4839ac762f4fd1532b4b2b84d5846011347ce6dfdf1a5d6" + +[update] +[update.modrinth] +mod-id = "6ABF6Pv3" +version = "ljlLeJlN" diff --git a/mods/appleskin.pw.toml b/mods/appleskin.pw.toml new file mode 100644 index 0000000..eaaefe7 --- /dev/null +++ b/mods/appleskin.pw.toml @@ -0,0 +1,13 @@ +name = "AppleSkin" +filename = "appleskin-forge-mc1.20.1-2.5.1.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/EsAfCjCV/versions/XdXDExVF/appleskin-forge-mc1.20.1-2.5.1.jar" +hash-format = "sha512" +hash = "3176f928fb6c60d27f5edb610ca4ab0236175404eebf32797a1ec6cdd794bb294a260231579578536d03571377e43c6181adc75d8dd2c0733f17fce4f7e636b9" + +[update] +[update.modrinth] +mod-id = "EsAfCjCV" +version = "XdXDExVF" diff --git a/mods/athena-ctm.pw.toml b/mods/athena-ctm.pw.toml new file mode 100644 index 0000000..5ea8634 --- /dev/null +++ b/mods/athena-ctm.pw.toml @@ -0,0 +1,13 @@ +name = "Athena" +filename = "athena-forge-1.20.1-3.1.2.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/b1ZV3DIJ/versions/DULOQFj7/athena-forge-1.20.1-3.1.2.jar" +hash-format = "sha512" +hash = "5a71a1c220eafbfbdb570fa204454352b48d55f238db1a5b398a8c40f6b0fbd8c09a2f6c10def330abdf3daadaa24dfa52471f8de931a93fd99dc7d85b60960b" + +[update] +[update.modrinth] +mod-id = "b1ZV3DIJ" +version = "DULOQFj7" diff --git a/mods/attributefix.pw.toml b/mods/attributefix.pw.toml new file mode 100644 index 0000000..110975c --- /dev/null +++ b/mods/attributefix.pw.toml @@ -0,0 +1,13 @@ +name = "AttributeFix" +filename = "AttributeFix-Forge-1.20.1-21.0.4.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/lOOpEntO/versions/Y42wjyly/AttributeFix-Forge-1.20.1-21.0.4.jar" +hash-format = "sha512" +hash = "a4f1431c3abb23d97ae6d742721fcc2d1d97b6f9e72e492cc13f2471b608614b8cbbde513fa0a6f8d002f27168130850bf358d405cd2120c979927d7e88fe3d3" + +[update] +[update.modrinth] +mod-id = "lOOpEntO" +version = "Y42wjyly" diff --git a/mods/bad-wither-no-cookie.pw.toml b/mods/bad-wither-no-cookie.pw.toml new file mode 100644 index 0000000..a0f78b8 --- /dev/null +++ b/mods/bad-wither-no-cookie.pw.toml @@ -0,0 +1,13 @@ +name = "Bad Wither No Cookie - Reloaded" +filename = "bwncr-forge-1.20.1-3.17.2.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/lL2MtE37/versions/QpHjZgDn/bwncr-forge-1.20.1-3.17.2.jar" +hash-format = "sha512" +hash = "86a93f4d99fde2248d821c18e120fc65e85250d2bc2ae7f4c757d7a439a10c217e158418920034c78ad7f2df3400dbe69c414f37f418df52d3093fe818acd5ca" + +[update] +[update.modrinth] +mod-id = "lL2MtE37" +version = "QpHjZgDn" diff --git a/mods/badoptimizations.pw.toml b/mods/badoptimizations.pw.toml new file mode 100644 index 0000000..b949b6e --- /dev/null +++ b/mods/badoptimizations.pw.toml @@ -0,0 +1,13 @@ +name = "BadOptimizations" +filename = "BadOptimizations-2.2.1-1.20.1.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/g96Z4WVZ/versions/M0bM4C3I/BadOptimizations-2.2.1-1.20.1.jar" +hash-format = "sha512" +hash = "5cb3a2cfe8c84f40ceb506e32c4ef9b8a4e560f7583a54adf7a402121cb285b37aae417d3c94314264a615b4fda0c8b974be115a1c18d783d80537acbc14b736" + +[update] +[update.modrinth] +mod-id = "g96Z4WVZ" +version = "M0bM4C3I" diff --git a/mods/big-contraptions.pw.toml b/mods/big-contraptions.pw.toml new file mode 100644 index 0000000..72b83c6 --- /dev/null +++ b/mods/big-contraptions.pw.toml @@ -0,0 +1,13 @@ +name = "Create: Big Contraptions" +filename = "bigcontraptions-1.0.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/jv0UKGOX/versions/1KkyaeYb/bigcontraptions-1.0.jar" +hash-format = "sha512" +hash = "0adb0e52632706465a5fd51e3610a76a16fb37a29b306adac792a196b22a0fa227eab17f9f077edf05814a715dc9d164ef6a1a3ce7d8fb135417b3e06a4b61d8" + +[update] +[update.modrinth] +mod-id = "jv0UKGOX" +version = "1KkyaeYb" diff --git a/mods/chat-heads.pw.toml b/mods/chat-heads.pw.toml new file mode 100644 index 0000000..694710f --- /dev/null +++ b/mods/chat-heads.pw.toml @@ -0,0 +1,13 @@ +name = "Chat Heads" +filename = "chat_heads-0.13.9-forge-1.20.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/Wb5oqrBJ/versions/MbKGnBG9/chat_heads-0.13.9-forge-1.20.jar" +hash-format = "sha512" +hash = "e9662f0439fb680b3337e4dffdcb430678544871039c0822f94132367bb328bb5bf8e12c9a3a316053815b34ba2065a7e4f972d63b7866ed846e13354b6d04bc" + +[update] +[update.modrinth] +mod-id = "Wb5oqrBJ" +version = "MbKGnBG9" diff --git a/mods/chunky.pw.toml b/mods/chunky.pw.toml new file mode 100644 index 0000000..7acb865 --- /dev/null +++ b/mods/chunky.pw.toml @@ -0,0 +1,13 @@ +name = "Chunky" +filename = "Chunky-1.3.146.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/fALzjamp/versions/4FTDk9wv/Chunky-1.3.146.jar" +hash-format = "sha512" +hash = "13ef9d5bfea1895118eec45aa3071e2d79408241f29990624f67e157d4c525391753b0a1539ff3359dad79a6e5ab5e0b84fffbe528bdefcaaefd579ec794d9c9" + +[update] +[update.modrinth] +mod-id = "fALzjamp" +version = "4FTDk9wv" diff --git a/mods/clumps.pw.toml b/mods/clumps.pw.toml new file mode 100644 index 0000000..89e69ca --- /dev/null +++ b/mods/clumps.pw.toml @@ -0,0 +1,13 @@ +name = "Clumps" +filename = "Clumps-forge-1.20.1-12.0.0.4.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/Wnxd13zP/versions/nAHGB5ls/Clumps-forge-1.20.1-12.0.0.4.jar" +hash-format = "sha512" +hash = "ffd8ff2438e9f9d260d3926ccdd0cccc4772c6f99f29715690aed4f6e97a76035f3aeaa78168e2a458bc4cccf521e97ebdb6e0b61c819facb04af9ebb3638383" + +[update] +[update.modrinth] +mod-id = "Wnxd13zP" +version = "nAHGB5ls" diff --git a/mods/connector.pw.toml b/mods/connector.pw.toml new file mode 100644 index 0000000..d3cff31 --- /dev/null +++ b/mods/connector.pw.toml @@ -0,0 +1,13 @@ +name = "Sinytra Connector" +filename = "Connector-1.0.0-beta.46+1.20.1.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/u58R1TMW/versions/e8hSZ4vp/Connector-1.0.0-beta.46%2B1.20.1.jar" +hash-format = "sha512" +hash = "7d98bd11e72dc95fb30e84d2be9175f2687201451d0e21421074bd225fcbcac8b4bcc1cd1b2dbd5f03e798569cac2f3bcc87c1baba1b1ad002268c578b20a533" + +[update] +[update.modrinth] +mod-id = "u58R1TMW" +version = "e8hSZ4vp" diff --git a/mods/connectored-c2me-(c2me-fork-for-connector).pw.toml b/mods/connectored-c2me-(c2me-fork-for-connector).pw.toml new file mode 100644 index 0000000..67658f1 --- /dev/null +++ b/mods/connectored-c2me-(c2me-fork-for-connector).pw.toml @@ -0,0 +1,13 @@ +name = "Connectored C2ME (C2ME fork for connector) (C3ME)" +filename = "c3me-fabric-mc1.20.1-0.2.0-c3me-alpha.11.61.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/Ov5T9Rht/versions/CuHuik2S/c3me-fabric-mc1.20.1-0.2.0-c3me-alpha.11.61.jar" +hash-format = "sha512" +hash = "e9744bbe812e1787f390025e4eaf45f56dac4c15e9e8b63a0ea7da6e50300ff5048aa0eea822004223e7de164f1b8fd8fe1aae62f466e19b7ade34d2eff5a0f6" + +[update] +[update.modrinth] +mod-id = "Ov5T9Rht" +version = "CuHuik2S" diff --git a/mods/controlling.pw.toml b/mods/controlling.pw.toml new file mode 100644 index 0000000..167acb7 --- /dev/null +++ b/mods/controlling.pw.toml @@ -0,0 +1,13 @@ +name = "Controlling" +filename = "Controlling-forge-1.20.1-12.0.2.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/xv94TkTM/versions/LH6Bi6Am/Controlling-forge-1.20.1-12.0.2.jar" +hash-format = "sha512" +hash = "3945bf3f6d843957f13584dfc70bede253d1e48f0dcb96f647fbcc6fcd3d1748a0dd9c6ca5c882e07a41f98eb84057934f51e43ab6023ed0a19695de2e6fe9f5" + +[update] +[update.modrinth] +mod-id = "xv94TkTM" +version = "LH6Bi6Am" diff --git a/mods/coroutil.pw.toml b/mods/coroutil.pw.toml new file mode 100644 index 0000000..f68a06f --- /dev/null +++ b/mods/coroutil.pw.toml @@ -0,0 +1,13 @@ +name = "CoroUtil" +filename = "coroutil-forge-1.20.1-1.3.7.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/rLLJ1OZM/versions/6rPDKAT8/coroutil-forge-1.20.1-1.3.7.jar" +hash-format = "sha512" +hash = "37a13eaa68579dd45204ebdfa43b2909123a2e5e875a2ca51da0d0882d4c524be1e95fce4bb26db21901b7d100ad9363968814e3566d44b5afce8fb8e8088057" + +[update] +[update.modrinth] +mod-id = "rLLJ1OZM" +version = "6rPDKAT8" diff --git a/mods/cubes-without-borders.pw.toml b/mods/cubes-without-borders.pw.toml new file mode 100644 index 0000000..9a66f11 --- /dev/null +++ b/mods/cubes-without-borders.pw.toml @@ -0,0 +1,13 @@ +name = "Cubes Without Borders" +filename = "cwb-forge-3.0.0+mc1.20.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/ETlrkaYF/versions/QzVMYIfG/cwb-forge-3.0.0%2Bmc1.20.jar" +hash-format = "sha512" +hash = "0eb5f0d4ec7739c4cd767fbabf37c00b23c7435546072d82431e08b1b72c87cff5f36fd800f85881497ab764b62f15908fbca8f92b25620975d8a0da9c945765" + +[update] +[update.modrinth] +mod-id = "ETlrkaYF" +version = "QzVMYIfG" diff --git a/mods/cull-less-leaves-reforged.pw.toml b/mods/cull-less-leaves-reforged.pw.toml new file mode 100644 index 0000000..a94af0c --- /dev/null +++ b/mods/cull-less-leaves-reforged.pw.toml @@ -0,0 +1,13 @@ +name = "Cull Less Leaves Reforged" +filename = "CullLessLeaves-Reforged-1.20.1-1.0.5.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/qthuEuVy/versions/wPOb8yEG/CullLessLeaves-Reforged-1.20.1-1.0.5.jar" +hash-format = "sha512" +hash = "1d037fd49a9b80eecf2ed8e3b64178d1fbae7cc2a511813ab8b627479713e79a98af0896366e1ad2a3fa3f9849eab086166c1a27227f6d9370c2738132d859e6" + +[update] +[update.modrinth] +mod-id = "qthuEuVy" +version = "wPOb8yEG" diff --git a/mods/distanthorizons.pw.toml b/mods/distanthorizons.pw.toml new file mode 100644 index 0000000..477c5a9 --- /dev/null +++ b/mods/distanthorizons.pw.toml @@ -0,0 +1,13 @@ +name = "Distant Horizons" +filename = "DistantHorizons-2.2.1-a-1.20.1-forge-fabric.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/uCdwusMi/versions/20nF6i21/DistantHorizons-2.2.1-a-1.20.1-forge-fabric.jar" +hash-format = "sha512" +hash = "a5059a249283f686bc49bc4c2606fce7b665102983f396996f47c11245fee21059554db5f9bdf63fa41ec954282a9ee3646ea42997f37bedb0af8b14944704f4" + +[update] +[update.modrinth] +mod-id = "uCdwusMi" +version = "20nF6i21" diff --git a/mods/dynamic-fps.pw.toml b/mods/dynamic-fps.pw.toml new file mode 100644 index 0000000..fdf340c --- /dev/null +++ b/mods/dynamic-fps.pw.toml @@ -0,0 +1,13 @@ +name = "Dynamic FPS" +filename = "dynamic-fps-3.7.7+minecraft-1.20.0-forge.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/LQ3K71Q1/versions/RWJOhJC6/dynamic-fps-3.7.7%2Bminecraft-1.20.0-forge.jar" +hash-format = "sha512" +hash = "0f39b1b83dfaa14a86dea93f723a8f54de82780f3575844349fc30acd185ac077856c381a072031fee7baf4f5dcaeaa6f21e898cbb4d2dff87d0b68309bf4e9f" + +[update] +[update.modrinth] +mod-id = "LQ3K71Q1" +version = "RWJOhJC6" diff --git a/mods/ebe-forge.pw.toml b/mods/ebe-forge.pw.toml new file mode 100644 index 0000000..8a7cd03 --- /dev/null +++ b/mods/ebe-forge.pw.toml @@ -0,0 +1,13 @@ +name = "EnlightenedBlockEntities" +filename = "EBE-1.20-1.20.1-0.9.1B.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/ntz4ZX7h/versions/rQm3ja4Q/EBE-1.20-1.20.1-0.9.1B.jar" +hash-format = "sha512" +hash = "6f9b1eef1cc3982d9505c96e941190aa9c5996c30dd8de0f789a1b2cca0e4a41573d54ba199d93779586584361fafce0f109d7ea715cecff4e93a74196f52e17" + +[update] +[update.modrinth] +mod-id = "ntz4ZX7h" +version = "rQm3ja4Q" diff --git a/mods/embeddium.pw.toml b/mods/embeddium.pw.toml new file mode 100644 index 0000000..1d63f7d --- /dev/null +++ b/mods/embeddium.pw.toml @@ -0,0 +1,13 @@ +name = "Embeddium" +filename = "embeddium-0.3.31+mc1.20.1.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/sk9rgfiA/versions/UTbfe5d1/embeddium-0.3.31%2Bmc1.20.1.jar" +hash-format = "sha512" +hash = "ffbf2da4685260a4d5c14c621708bd20722563f084f042d3dfb0a7b87f048e39299648c854a93939129da0d23a15a91ec628560d601e76074b08e275f6e132e9" + +[update] +[update.modrinth] +mod-id = "sk9rgfiA" +version = "UTbfe5d1" diff --git a/mods/embeddiumplus.pw.toml b/mods/embeddiumplus.pw.toml new file mode 100644 index 0000000..bdd4f17 --- /dev/null +++ b/mods/embeddiumplus.pw.toml @@ -0,0 +1,13 @@ +name = "Embeddium++" +filename = "embeddiumplus-1.20.1-v1.2.13.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/yD9qW65f/versions/KEd4eJfk/embeddiumplus-1.20.1-v1.2.13.jar" +hash-format = "sha512" +hash = "2ea60376eecaf859b3303d46cc8b593e3121ce5487f97db2a60ec0025327ae740c9d28fb5523fcae32da0a3de010e5f1b59024c1cfa9f1547116668ac04de278" + +[update] +[update.modrinth] +mod-id = "yD9qW65f" +version = "KEd4eJfk" diff --git a/mods/emi.pw.toml b/mods/emi.pw.toml new file mode 100644 index 0000000..bbdb3ed --- /dev/null +++ b/mods/emi.pw.toml @@ -0,0 +1,13 @@ +name = "EMI" +filename = "emi-1.1.19+1.20.1+forge.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/fRiHVvU7/versions/GSmsesll/emi-1.1.19%2B1.20.1%2Bforge.jar" +hash-format = "sha512" +hash = "dc6eea0544a0daba3868be6544900759e6d1f6892fba201722747bb3ace2a3b9eed4e20138474cc7c88e9d7d599972b0330053930bb6d0526853fed9fe995307" + +[update] +[update.modrinth] +mod-id = "fRiHVvU7" +version = "GSmsesll" diff --git a/mods/entity-model-features.pw.toml b/mods/entity-model-features.pw.toml new file mode 100644 index 0000000..127dd05 --- /dev/null +++ b/mods/entity-model-features.pw.toml @@ -0,0 +1,13 @@ +name = "[EMF] Entity Model Features" +filename = "entity_model_features_forge_1.20.1-2.4.1.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/4I1XuqiY/versions/p39UPPar/entity_model_features_forge_1.20.1-2.4.1.jar" +hash-format = "sha512" +hash = "f6160617baabb494226d09687aed23e0cdc6de42122d1c6b038ef733990cabc2aff62b6b1e91eb42236e9e0b952dcf1cdc42c323d823f41a0e5c285f831dce65" + +[update] +[update.modrinth] +mod-id = "4I1XuqiY" +version = "p39UPPar" diff --git a/mods/entityculling.pw.toml b/mods/entityculling.pw.toml new file mode 100644 index 0000000..f848d91 --- /dev/null +++ b/mods/entityculling.pw.toml @@ -0,0 +1,13 @@ +name = "Entity Culling" +filename = "entityculling-forge-1.7.2-mc1.20.1.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/NNAgCjsB/versions/yyU9Ifp0/entityculling-forge-1.7.2-mc1.20.1.jar" +hash-format = "sha512" +hash = "547ecae13eb982c2c43c2f107fccede69b2edd33a3005296fd880122760f569c98e42a3abb7d69526ebe79efb6846bad38ee8a1bb7e8afa62e18e5e052029647" + +[update] +[update.modrinth] +mod-id = "NNAgCjsB" +version = "yyU9Ifp0" diff --git a/mods/entitytexturefeatures.pw.toml b/mods/entitytexturefeatures.pw.toml new file mode 100644 index 0000000..cf362e1 --- /dev/null +++ b/mods/entitytexturefeatures.pw.toml @@ -0,0 +1,13 @@ +name = "[ETF] Entity Texture Features" +filename = "entity_texture_features_forge_1.20.1-6.2.9.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/BVzZfTc1/versions/rGt1IuJq/entity_texture_features_forge_1.20.1-6.2.9.jar" +hash-format = "sha512" +hash = "0d8576c785c689aa39c29f8dbee46b28c308a01a87eaa01a1d405c617b7a30be5ba1e62faeb5f212e44d50ae5a230e48815ac572adaba0c6d3a9e2df47183023" + +[update] +[update.modrinth] +mod-id = "BVzZfTc1" +version = "rGt1IuJq" diff --git a/mods/euphonium.pw.toml b/mods/euphonium.pw.toml new file mode 100644 index 0000000..d2b04f9 --- /dev/null +++ b/mods/euphonium.pw.toml @@ -0,0 +1,13 @@ +name = "Euphonium" +filename = "euphonium-1.0.3+1.20.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/XH8cnjHW/versions/Bdg5V49U/euphonium-1.0.3%2B1.20.jar" +hash-format = "sha512" +hash = "8977b73ecac5f8dd44a66eb4348482bda1c349426ddb8bdabbfd09f88f377135a705767acb9c23aeaa3c3ffca452902482ec882dbdcf669474baa2f1c018dcaa" + +[update] +[update.modrinth] +mod-id = "XH8cnjHW" +version = "Bdg5V49U" diff --git a/mods/fastquit-forge.pw.toml b/mods/fastquit-forge.pw.toml new file mode 100644 index 0000000..5b76326 --- /dev/null +++ b/mods/fastquit-forge.pw.toml @@ -0,0 +1,13 @@ +name = "FastQuit-Forge" +filename = "Fastquit-3.0.1+1.20.1forge.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/itFaO2Tg/versions/PqnfazyM/Fastquit-3.0.1%2B1.20.1forge.jar" +hash-format = "sha512" +hash = "cd50eb78fb83b637fe516e9de85e8bb778abaacf4d41a8fb5c4ab121f8f0e871998ac41171a01cb96d08b453b38d0d1ba830888f615acb54d85ecddd9a3e7286" + +[update] +[update.modrinth] +mod-id = "itFaO2Tg" +version = "PqnfazyM" diff --git a/mods/ferrite-core.pw.toml b/mods/ferrite-core.pw.toml new file mode 100644 index 0000000..e7cce4d --- /dev/null +++ b/mods/ferrite-core.pw.toml @@ -0,0 +1,13 @@ +name = "FerriteCore" +filename = "ferritecore-6.0.1-forge.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/uXXizFIs/versions/DG5Fn9Sz/ferritecore-6.0.1-forge.jar" +hash-format = "sha512" +hash = "a1960a7c03dc32d4ccaccaf28afdd9b078758bbd62d15a91d4039a83fa9397a098e89b69591f6bd5190254d9ee97e502504154b9aec764adb8c65f000b75ba2c" + +[update] +[update.modrinth] +mod-id = "uXXizFIs" +version = "DG5Fn9Sz" diff --git a/mods/forgified-fabric-api.pw.toml b/mods/forgified-fabric-api.pw.toml new file mode 100644 index 0000000..c5ec3c0 --- /dev/null +++ b/mods/forgified-fabric-api.pw.toml @@ -0,0 +1,13 @@ +name = "Forgified Fabric API" +filename = "fabric-api-0.92.2+1.11.9+1.20.1.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/Aqlf1Shp/versions/2Jm6cdbX/fabric-api-0.92.2%2B1.11.9%2B1.20.1.jar" +hash-format = "sha512" +hash = "c946edeb9d245f6f1a6c59948fec66075f06198c77a79b01e2c6f653c02e57ec3debb4c10614226bae6f4f117cc9036a903389e70b8f8ce3b5d67b25b164a839" + +[update] +[update.modrinth] +mod-id = "Aqlf1Shp" +version = "2Jm6cdbX" diff --git a/mods/fzzy-config.pw.toml b/mods/fzzy-config.pw.toml new file mode 100644 index 0000000..0224894 --- /dev/null +++ b/mods/fzzy-config.pw.toml @@ -0,0 +1,13 @@ +name = "Fzzy Config" +filename = "fzzy_config-0.6.2+1.20.1+forge.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/hYykXjDp/versions/QOLmBnu1/fzzy_config-0.6.2%2B1.20.1%2Bforge.jar" +hash-format = "sha512" +hash = "40cc9d874dfe2ed2cf4dd6115de3d508bd843ae07f3e0cb9c6c9851b5d58a92da316c177e1c510ad4d9754319ade387c2a0beb966168f87d1acfdac29f544f22" + +[update] +[update.modrinth] +mod-id = "hYykXjDp" +version = "QOLmBnu1" diff --git a/mods/gputape.pw.toml b/mods/gputape.pw.toml new file mode 100644 index 0000000..388e1c0 --- /dev/null +++ b/mods/gputape.pw.toml @@ -0,0 +1,13 @@ +name = "GpuTape" +filename = "GPUTape-1.18x-1.21x-1.0.5.1.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/5CTSrY8X/versions/mMc55fB1/GPUTape-1.18x-1.21x-1.0.5.1.jar" +hash-format = "sha512" +hash = "4bcfccf92a9b2e5842864b23caef9805da8a849928a711029ba9df0364cf50f66cf0f58bacca5316a0b7b1d10cb62569aca7e6d9f894c3a42100dc6d9a80cca7" + +[update] +[update.modrinth] +mod-id = "5CTSrY8X" +version = "mMc55fB1" diff --git a/mods/immediatelyfast.pw.toml b/mods/immediatelyfast.pw.toml new file mode 100644 index 0000000..61e8baf --- /dev/null +++ b/mods/immediatelyfast.pw.toml @@ -0,0 +1,13 @@ +name = "ImmediatelyFast" +filename = "ImmediatelyFast-1.2.7+1.20.2.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/5ZwdcRci/versions/yciHw2oP/ImmediatelyFast-1.2.7%2B1.20.2.jar" +hash-format = "sha512" +hash = "669a625894f175bc818062a194fb52b6163b2ddcb60cfb57a93efbb1c4e855b20200e175e225f86870cfde0846b80a50084088a2aefe6783cc2b49a6de59b2ba" + +[update] +[update.modrinth] +mod-id = "5ZwdcRci" +version = "yciHw2oP" diff --git a/mods/iris-flw-compat.pw.toml b/mods/iris-flw-compat.pw.toml new file mode 100644 index 0000000..ad4d5b5 --- /dev/null +++ b/mods/iris-flw-compat.pw.toml @@ -0,0 +1,13 @@ +name = "Iris & Oculus Flywheel Compat" +filename = "oculus-flywheel-compat-forge1.20.1+1.1.4.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/ndHYMY2K/versions/j26FjsSe/oculus-flywheel-compat-forge1.20.1%2B1.1.4.jar" +hash-format = "sha512" +hash = "811874cef4a54eb8d6b1f871d004b32bda39cf800ade45b60f156ccf7d81cf39244ec49a1adeaf3565bb8fc623869cd54c6ff84f6f406e65ea27ea6be1ecb3f2" + +[update] +[update.modrinth] +mod-id = "ndHYMY2K" +version = "j26FjsSe" diff --git a/mods/jade.pw.toml b/mods/jade.pw.toml new file mode 100644 index 0000000..18d375c --- /dev/null +++ b/mods/jade.pw.toml @@ -0,0 +1,13 @@ +name = "Jade 🔍" +filename = "Jade-1.20.1-Forge-11.12.2.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/nvQzSEkH/versions/bzWVE2db/Jade-1.20.1-Forge-11.12.2.jar" +hash-format = "sha512" +hash = "7eca39a04d4e91af3cd1e05ec288b9cbdf284799da444abeae3ee178eeee413e10bde2bc4cddc8a08259cb1cd2337c26ff92770b20cdab70e1554922ac96a968" + +[update] +[update.modrinth] +mod-id = "nvQzSEkH" +version = "bzWVE2db" diff --git a/mods/kotlin-for-forge.pw.toml b/mods/kotlin-for-forge.pw.toml new file mode 100644 index 0000000..82dd0a0 --- /dev/null +++ b/mods/kotlin-for-forge.pw.toml @@ -0,0 +1,13 @@ +name = "Kotlin for Forge" +filename = "kotlinforforge-4.11.0-all.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/ordsPcFz/versions/hmeyC41q/kotlinforforge-4.11.0-all.jar" +hash-format = "sha512" +hash = "d72707078f0c4fde78981c638ca976722f22a64ce74bdb489258790fe9886d763a7b1e0dfbc5429ddd3105d8a65d177f06242dfb1457e219e56c70dd3e8cbf2c" + +[update] +[update.modrinth] +mod-id = "ordsPcFz" +version = "hmeyC41q" diff --git a/mods/lazurite.pw.toml b/mods/lazurite.pw.toml new file mode 100644 index 0000000..3e94a59 --- /dev/null +++ b/mods/lazurite.pw.toml @@ -0,0 +1,13 @@ +name = "Lazurite" +filename = "lazurite-1.0.4+mc1.20.1.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/TkC4Gtkt/versions/3Ro7216v/lazurite-1.0.4%2Bmc1.20.1.jar" +hash-format = "sha512" +hash = "502f2c1b9421163d26257e0285c49b1017f018ed6a230b442a0b2f969cb17c77e0f6bc661cc2d4292111a57bd77ade0296fc7c731e5d824c7036662194811663" + +[update] +[update.modrinth] +mod-id = "TkC4Gtkt" +version = "3Ro7216v" diff --git a/mods/lmd.pw.toml b/mods/lmd.pw.toml new file mode 100644 index 0000000..6119bf7 --- /dev/null +++ b/mods/lmd.pw.toml @@ -0,0 +1,13 @@ +name = "Let Me Despawn" +filename = "letmedespawn-1.20.x-forge-1.4.4.jar" +side = "server" + +[download] +url = "https://cdn.modrinth.com/data/vE2FN5qn/versions/DdpzGNnQ/letmedespawn-1.20.x-forge-1.4.4.jar" +hash-format = "sha512" +hash = "fe101902efa4a28dcc2af0dcd0b2b3ee7236f12525184f56b8c2b40cfaa69639a4eebc2f822af01eaaec402f651605579568c333b95558e8d38b29d8b7a072d0" + +[update] +[update.modrinth] +mod-id = "vE2FN5qn" +version = "DdpzGNnQ" diff --git a/mods/memoryleakfix.pw.toml b/mods/memoryleakfix.pw.toml new file mode 100644 index 0000000..eea1543 --- /dev/null +++ b/mods/memoryleakfix.pw.toml @@ -0,0 +1,13 @@ +name = "Memory Leak Fix" +filename = "memoryleakfix-forge-1.17+-1.1.5.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/NRjRiSSD/versions/3w0IxNtk/memoryleakfix-forge-1.17%2B-1.1.5.jar" +hash-format = "sha512" +hash = "f4d7b0eb70a605ffb81bebd24fd125d8c0bc7917c3e00f27bee64988836323de5a3d205e89a4a5f8ae75741ca874f62996e7c8e5ed489dc3c1824337e93d263f" + +[update] +[update.modrinth] +mod-id = "NRjRiSSD" +version = "3w0IxNtk" diff --git a/mods/mobtimizations.pw.toml b/mods/mobtimizations.pw.toml new file mode 100644 index 0000000..8460571 --- /dev/null +++ b/mods/mobtimizations.pw.toml @@ -0,0 +1,13 @@ +name = "Mobtimizations - Entity Performance Fixes" +filename = "mobtimizations-forge-1.20.1-1.0.0.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/Kbz7UydC/versions/mEhoYk0d/mobtimizations-forge-1.20.1-1.0.0.jar" +hash-format = "sha512" +hash = "6b4687616bbeb1afe6dc13fd291373ee4af2bdc26a5a3367ec20500f9afac4706a3b26a65e52bded5d8cb4a7d8782c0e742002bf7ca2d66b54f5ea35879f413a" + +[update] +[update.modrinth] +mod-id = "Kbz7UydC" +version = "mEhoYk0d" diff --git a/mods/modelfix.pw.toml b/mods/modelfix.pw.toml new file mode 100644 index 0000000..b31ed3d --- /dev/null +++ b/mods/modelfix.pw.toml @@ -0,0 +1,13 @@ +name = "Model Gap Fix" +filename = "modelfix-1.15.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/QdG47OkI/versions/og4A1nN8/modelfix-1.15.jar" +hash-format = "sha512" +hash = "b46d6b507b12c63a6fa96ca0571c1b94fc6525e48fdfdbcaa018aa3c4a4801da5c4bb80a173f7cca04b1591854147260163716e25041363b8640f20ff1c736d4" + +[update] +[update.modrinth] +mod-id = "QdG47OkI" +version = "og4A1nN8" diff --git a/mods/modernfix.pw.toml b/mods/modernfix.pw.toml new file mode 100644 index 0000000..7bea66b --- /dev/null +++ b/mods/modernfix.pw.toml @@ -0,0 +1,13 @@ +name = "ModernFix" +filename = "modernfix-forge-5.20.0+mc1.20.1.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/nmDcB62a/versions/tLSzIfcj/modernfix-forge-5.20.0%2Bmc1.20.1.jar" +hash-format = "sha512" +hash = "040ce2b57d6536b51d55123d68a63a71c3370195f695a875cbd3b45f7ef5678ae0274a09c1a343dd8236e99eef299143d6466c44408d1bd7766dc2e353c20473" + +[update] +[update.modrinth] +mod-id = "nmDcB62a" +version = "tLSzIfcj" diff --git a/mods/moremcmeta-emissive.pw.toml b/mods/moremcmeta-emissive.pw.toml new file mode 100644 index 0000000..7a4ae77 --- /dev/null +++ b/mods/moremcmeta-emissive.pw.toml @@ -0,0 +1,13 @@ +name = "MoreMcmeta Emissive Textures" +filename = "emissive-plugin-1.20.1-2.0.4-forge.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/oQ0dIGZg/versions/rkJ3fswP/emissive-plugin-1.20.1-2.0.4-forge.jar" +hash-format = "sha512" +hash = "1282ae1aad8000fd0976a984786022c452d43d9a173928e80bb91baf9c5125fac75330c813a1e9df33b560597887f9ede6af0e6c97e8f788e5f46f009879f8f2" + +[update] +[update.modrinth] +mod-id = "oQ0dIGZg" +version = "rkJ3fswP" diff --git a/mods/moremcmeta.pw.toml b/mods/moremcmeta.pw.toml new file mode 100644 index 0000000..350b01a --- /dev/null +++ b/mods/moremcmeta.pw.toml @@ -0,0 +1,13 @@ +name = "MoreMcmeta" +filename = "moremcmeta-1.20.1-4.5.2-forge.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/HFlxNpln/versions/1Gk4ti96/moremcmeta-1.20.1-4.5.2-forge.jar" +hash-format = "sha512" +hash = "b13db1cea49baeca40f5d345c88233f05beca5d3607fbabd05498a86c6e68ddc57593360f786f3cf856ce76a7b685f20ff65d89f8d3712ef79068a836cea3dcb" + +[update] +[update.modrinth] +mod-id = "HFlxNpln" +version = "1Gk4ti96" diff --git a/mods/mouse-tweaks.pw.toml b/mods/mouse-tweaks.pw.toml new file mode 100644 index 0000000..67f0c2c --- /dev/null +++ b/mods/mouse-tweaks.pw.toml @@ -0,0 +1,13 @@ +name = "Mouse Tweaks" +filename = "MouseTweaks-forge-mc1.20.1-2.25.1.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/aC3cM3Vq/versions/7JVXOe3K/MouseTweaks-forge-mc1.20.1-2.25.1.jar" +hash-format = "sha512" +hash = "a3bb0272c0a1a3be9250dfee030bb8f86217fa6a32bd534be8c940fdd8c466c800c2df85874877983ced36ecfc28c8ced6c0d42107c1ab621385b4be9a7c65eb" + +[update] +[update.modrinth] +mod-id = "aC3cM3Vq" +version = "7JVXOe3K" diff --git a/mods/noisium.pw.toml b/mods/noisium.pw.toml new file mode 100644 index 0000000..6b0d374 --- /dev/null +++ b/mods/noisium.pw.toml @@ -0,0 +1,13 @@ +name = "Noisium" +filename = "noisium-merged-2.0.1+mc1.20.x.jar" +side = "server" + +[download] +url = "https://cdn.modrinth.com/data/KuNKN7d2/versions/AfjBJbK1/noisium-merged-2.0.1%2Bmc1.20.x.jar" +hash-format = "sha512" +hash = "f86140544ce261402447d003e99d677b2d35a95a0da04afb9046dd4995f2bfb82d74562b38325a6bb511632690a11d00d463e6d951ccd7e32bd5779f6bcbe56b" + +[update] +[update.modrinth] +mod-id = "KuNKN7d2" +version = "AfjBJbK1" diff --git a/mods/oculus.pw.toml b/mods/oculus.pw.toml new file mode 100644 index 0000000..14276bd --- /dev/null +++ b/mods/oculus.pw.toml @@ -0,0 +1,13 @@ +name = "Oculus" +filename = "oculus-mc1.20.1-1.8.0.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/GchcoXML/versions/iQ1SwGc3/oculus-mc1.20.1-1.8.0.jar" +hash-format = "sha512" +hash = "1bb4ac77400d6684347988ed298a692c2cb15cf7923693607eb8739b171a20fef7412259e9e157111d9ce21779badab386029956f7d2283a9e611722a373e9d5" + +[update] +[update.modrinth] +mod-id = "GchcoXML" +version = "iQ1SwGc3" diff --git a/mods/particle-core.pw.toml b/mods/particle-core.pw.toml new file mode 100644 index 0000000..42c5ab6 --- /dev/null +++ b/mods/particle-core.pw.toml @@ -0,0 +1,13 @@ +name = "Particle Core" +filename = "particle_core-0.2.5+1.20.1+forge.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/RSeLon5O/versions/2pgXWmty/particle_core-0.2.5%2B1.20.1%2Bforge.jar" +hash-format = "sha512" +hash = "1da3ce936ce34f60ee96aa1faab9fec89f1227152a3c146bbe48a404cb93918f1f8722a6c44afc3eda8a9e4ea6f97a61ad6788da6085aec1816b1c3871e15c9c" + +[update] +[update.modrinth] +mod-id = "RSeLon5O" +version = "2pgXWmty" diff --git a/mods/potacore.pw.toml b/mods/potacore.pw.toml new file mode 100644 index 0000000..8024cab --- /dev/null +++ b/mods/potacore.pw.toml @@ -0,0 +1,13 @@ +name = "Potacore" +filename = "potacore-0.2.8-universal.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/55ByH6In/versions/TFCMmqRS/potacore-0.2.8-universal.jar" +hash-format = "sha512" +hash = "1f620bf9c7d27cd209388b86df2638e17f8bc1f286405c770e8438d118573735827589fc424e82b2ec33c39c2dab6bc46c5d16658c53b068c0b9bfb5775ae131" + +[update] +[update.modrinth] +mod-id = "55ByH6In" +version = "TFCMmqRS" diff --git a/mods/radium.pw.toml b/mods/radium.pw.toml new file mode 100644 index 0000000..cac1820 --- /dev/null +++ b/mods/radium.pw.toml @@ -0,0 +1,13 @@ +name = "Radium" +filename = "radium-mc1.20.1-0.12.4+git.26c9d8e.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/2gvRmQXx/versions/n947JjJH/radium-mc1.20.1-0.12.4%2Bgit.26c9d8e.jar" +hash-format = "sha512" +hash = "7b59c491d72801257c740626faab8c14ed580db28493c474147341531bca3de5ea822d4042d3786ae619449b6f6ffc1001a1cdc1b9276ec900e57ab17dd8989a" + +[update] +[update.modrinth] +mod-id = "2gvRmQXx" +version = "n947JjJH" diff --git a/mods/rrls.pw.toml b/mods/rrls.pw.toml new file mode 100644 index 0000000..bf6640f --- /dev/null +++ b/mods/rrls.pw.toml @@ -0,0 +1,13 @@ +name = "Remove Reloading Screen" +filename = "rrls-4.0.6.1+mc1.20.1-forge.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/ZP7xHXtw/versions/DMHJY7vL/rrls-4.0.6.1%2Bmc1.20.1-forge.jar" +hash-format = "sha512" +hash = "825f037e40e904b11f2744e2b6fa2823b7cef41ec9e71c10cf71dd89233ed15a9c4687376af32d9e2ec50be92db3bb0ef818712eb88654489aedf35efd726079" + +[update] +[update.modrinth] +mod-id = "ZP7xHXtw" +version = "DMHJY7vL" diff --git a/mods/rubidium-extra.pw.toml b/mods/rubidium-extra.pw.toml new file mode 100644 index 0000000..706fd74 --- /dev/null +++ b/mods/rubidium-extra.pw.toml @@ -0,0 +1,13 @@ +name = "Embeddium (Rubidium) Extra" +filename = "rubidium-extra-0.5.4.4+mc1.20.1-build.131.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/oY2B1pjg/versions/F06DXCMX/rubidium-extra-0.5.4.4%2Bmc1.20.1-build.131.jar" +hash-format = "sha512" +hash = "4067ef8d94fd4022a5f4feb02250d86c96ab10867f526c64e7e02a409ac6d46fbc32e87ffd735b1203f328d147c291e4a8dda1288c1deb3e232a1e5cb13701fb" + +[update] +[update.modrinth] +mod-id = "oY2B1pjg" +version = "F06DXCMX" diff --git a/mods/saturn.pw.toml b/mods/saturn.pw.toml new file mode 100644 index 0000000..af4245d --- /dev/null +++ b/mods/saturn.pw.toml @@ -0,0 +1,13 @@ +name = "Saturn" +filename = "saturn-mc1.20.1-0.1.3.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/2eT495vq/versions/Yx85DYaG/saturn-mc1.20.1-0.1.3.jar" +hash-format = "sha512" +hash = "8b4b9a69e7b55df8148e83a6d17ef381b9c412d8730d0068974bd48bbdae1a1a43837a5307471bc5dd2b41d3aa821d73c8683a3f480a9d987b2cf0969aa178cc" + +[update] +[update.modrinth] +mod-id = "2eT495vq" +version = "Yx85DYaG" diff --git a/mods/searchables.pw.toml b/mods/searchables.pw.toml new file mode 100644 index 0000000..de0c25f --- /dev/null +++ b/mods/searchables.pw.toml @@ -0,0 +1,13 @@ +name = "Searchables" +filename = "Searchables-forge-1.20.1-1.0.3.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/fuuu3xnx/versions/PM9yAW1G/Searchables-forge-1.20.1-1.0.3.jar" +hash-format = "sha512" +hash = "185617d6d446f3d4ef6c7d5c6ee4e2fb731a89f7495157313b21292ec6b8e3dbcc10c0379ab49ecb2d0c64d0a78df74750d7f7336d5e6c43516a7c92f278c0a2" + +[update] +[update.modrinth] +mod-id = "fuuu3xnx" +version = "PM9yAW1G" diff --git a/mods/shut-up-gl-error.pw.toml b/mods/shut-up-gl-error.pw.toml new file mode 100644 index 0000000..992b85a --- /dev/null +++ b/mods/shut-up-gl-error.pw.toml @@ -0,0 +1,13 @@ +name = "Shut Up GL Error" +filename = "Shut Up GL Error-forge-1.20.1-1.0.0.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/houIxdGF/versions/Gso8AhoY/Shut%20Up%20GL%20Error-forge-1.20.1-1.0.0.jar" +hash-format = "sha512" +hash = "7f48b19254154ae475d85aafa242b69e9fc173d697b5cbc189201a784875a4422c45381a74399451a525191c31a069b048c6ee7ed176c737e899df7ecc50487b" + +[update] +[update.modrinth] +mod-id = "houIxdGF" +version = "Gso8AhoY" diff --git a/mods/sodium-dynamic-lights.pw.toml b/mods/sodium-dynamic-lights.pw.toml new file mode 100644 index 0000000..1a8b535 --- /dev/null +++ b/mods/sodium-dynamic-lights.pw.toml @@ -0,0 +1,13 @@ +name = "Sodium Dynamic Lights" +filename = "sodiumdynamiclights-forge-1.0.10-1.20.1.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/PxQSWIcD/versions/I156ee3A/sodiumdynamiclights-forge-1.0.10-1.20.1.jar" +hash-format = "sha512" +hash = "b8527199be5a8b4bc758a4f320586b5886e6ff657718f52d464386b1e3c695d7bfe644e2ef9487a869c93c0866818995ecd47b9e1a19054929242682e37f58b7" + +[update] +[update.modrinth] +mod-id = "PxQSWIcD" +version = "I156ee3A" diff --git a/mods/sodium-options-api.pw.toml b/mods/sodium-options-api.pw.toml new file mode 100644 index 0000000..2b6530a --- /dev/null +++ b/mods/sodium-options-api.pw.toml @@ -0,0 +1,13 @@ +name = "Sodium Options API" +filename = "sodiumoptionsapi-forge-1.0.10-1.20.1.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/Es5v4eyq/versions/d0EFLitO/sodiumoptionsapi-forge-1.0.10-1.20.1.jar" +hash-format = "sha512" +hash = "20b11f1582df3df3d351e0cffcfc8b97453e2d73164fbad46d3f4eb960cab57d8f708d84b818782ef019d5cd9494ce001161f753623680516a191d6f510ebb79" + +[update] +[update.modrinth] +mod-id = "Es5v4eyq" +version = "d0EFLitO" diff --git a/mods/sound-physics-remastered.pw.toml b/mods/sound-physics-remastered.pw.toml new file mode 100644 index 0000000..3e73437 --- /dev/null +++ b/mods/sound-physics-remastered.pw.toml @@ -0,0 +1,13 @@ +name = "Sound Physics Remastered" +filename = "sound-physics-remastered-forge-1.20.1-1.4.8.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/qyVF9oeo/versions/O13IgRhY/sound-physics-remastered-forge-1.20.1-1.4.8.jar" +hash-format = "sha512" +hash = "30b3443e6e677619c68ec63600f58bc7abf14c9f2242dbc16f7e59d26592a14f39c3b29dbfd759d9de62550153823792d7549e4d5c3838575f297339090ad1e7" + +[update] +[update.modrinth] +mod-id = "qyVF9oeo" +version = "O13IgRhY" diff --git a/pack.toml b/pack.toml new file mode 100644 index 0000000..fb440fb --- /dev/null +++ b/pack.toml @@ -0,0 +1,13 @@ +name = "Twig Forge" +author = "Twig" +version = "1.0.0" +pack-format = "packwiz:1.1.0" + +[index] +file = "index.toml" +hash-format = "sha256" +hash = "ff1c49862e4776ba7efe1b663a9decb11f9a5210f63d856173e0efe76bc5084f" + +[versions] +forge = "47.3.22" +minecraft = "1.20.1"