codeinabox@programming.dev to Programming@programming.devEnglish · 2 days agoExecutable Scripts with Dependenciesalexn.orgexternal-linkmessage-square30linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkExecutable Scripts with Dependenciesalexn.orgcodeinabox@programming.dev to Programming@programming.devEnglish · 2 days agomessage-square30linkfedilink
minus-squareBB_C@programming.devlinkfedilinkarrow-up0·24 hours ago The +nightly syntax is a rustup proxy feature, so a distro-packaged cargo won’t even parse it. Nightly is a different compiler every day. export RUSTC_BOOTSTRAP=1 and you wouldn’t need rustup or nightly. It will work with your stable distro package. clap = “4” and anyhow = “1” are ranges, and there’s no Cargo.lock. you can do clap = "=4.x.x", ditto for all deps, direct and indirect. Nightly is a different compiler every day. Nothing about that script is fixed except its text. Is nix finished free-standing software?
export RUSTC_BOOTSTRAP=1and you wouldn’t need rustup or nightly. It will work with your stable distro package.you can do
clap = "=4.x.x", ditto for all deps, direct and indirect.Is nix finished free-standing software?