Would it be ok to add the package to nixpkgs, where instead of buildRustPackage and fetchFromGitHub, I’ll just download the binary via fetchurl?
I’d like to add rawst, but it uses nightly functions and can’t build with buildRustPackage
Would it be ok to add the package to nixpkgs, where instead of buildRustPackage and fetchFromGitHub, I’ll just download the binary via fetchurl?
I’d like to add rawst, but it uses nightly functions and can’t build with buildRustPackage
There are examples of packages in nixpkgs that do this, for example WeChat.
You can grep the packages in nixpkgs for sourceProvenance and see which ones mention “binary”.
But building from source is always preferable.
The nixpkgs manual also mentions using the environment variable RUSTC_BOOTSTRAP = true that might work for packaging things that require nightly Rust. Some packages in nixpkgs use this.
Do you not know what to do if the fake CargoHash does not give an error, but the package tries to build endlessly?
It should be an empty string, not a fake value.
For some reason, build still gets stuck on vendor-staging (buildPhase)
It might just be taking a long time. Rust projects can take a not insignificant amount of time to build.
If you post your derivation here, or link to it, it would help in diagnosing any potential issue.
The package build for 12 hours
{
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "rawst";
version = "0.8.1";
src = fetchFromGitHub {
owner = "Jupiee";
repo = pname;
rev = version;
hash = "sha256-+uhE80XoZyMBV+nmlP+C5DfoB+z4tyK69XGsuALxROs=";
};
RUSTC_BOOTSTRAP = true;
cargoHash = "";
}
warning: found empty hash, assuming 'sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA='
these 13 derivations will be built:
/nix/store/2814rf38lfnvbvgv9hp95kagjhaf421b-builder.pl.drv
/nix/store/lrwmq3ii7rwkra2k3q6szk1bg0vcjzw4-python3-3.13.11-env.drv
/nix/store/mdb79r8mxa51gbsaf449sjpaz2c61bh0-pythoncheck.sh.drv
/nix/store/qymwfixrdpyq31sg76qqv77vwyhapsac-pythoncheck.sh.drv
/nix/store/4kya279wqzzd6kwq5n0vwhkm4wrpy8cj-fetch-cargo-vendor-util.drv
/nix/store/gldb3d4i93dzg98lwcn707fcwf7p9q9j-python3-3.13.11-env.drv
/nix/store/i75jdj3aimspvxj0kf6657gpb02357z4-pythoncheck.sh.drv
/nix/store/m2abrhsjjny8547xy02rxsr841v4cdd2-pythoncheck.sh.drv
/nix/store/pdaq1sljxzgahmkbzqc7ndp5j8bvv6sg-replace-workspace-values.drv
/nix/store/ihayggk1crzp865xyfgxh2if2gxsxx98-source.drv
/nix/store/s96fnwvwkj6y1bacswb0a1p059xxsf6r-rawst-0.8.1-vendor-staging.drv
/nix/store/99ap6v99igv8nhf97pcim26vff0qszic-rawst-0.8.1-vendor.drv
/nix/store/y60q86clm2v592bn958albk6l3323qfk-rawst-0.8.1.drv
these 45 paths will be fetched (235.23 MiB download, 1114.68 MiB unpacked):
/nix/store/bgmddh2lxi5nhn9rdi3lbvk2m301jn4r-auditable-cargo-1.92.0
/nix/store/71zazsbsl9j3avg2csbif6cfn2y1s301-bin
/nix/store/yqcsaywfvcyy9wmbzb5fawp29icgi7cb-cargo-1.92.0
/nix/store/nrfqj41yzaw70bk2nd1vcfnj2gmzx5gw-cargo-auditable-0.7.2
/nix/store/ygaww7hicgfih983g58bp1ad3j4j6xc9-cargo-build-hook.sh
/nix/store/1gi4iwlg313jn12ar7da3l3w4cv3v12v-cargo-check-hook.sh
/nix/store/vfp1y52qj09zbi4qj7pixf2gyqaf4ysq-cargo-install-hook.sh
/nix/store/30prgsx2yxvb8sdsgdjn6xjylcs1582d-cargo-setup-hook.sh
/nix/store/z2p2fghmmlz811h4m5gf8dvv831n7pd1-curl-8.17.0
/nix/store/nkcdnynzmpivn89lqqz3iby95w36vbfi-curl-8.17.0-bin
/nix/store/1zpdv6g5dawfialmjqnrizmg9c27df8k-curl-8.17.0-dev
/nix/store/l4yqm58fi4b50caazj7wmbzxam6arg0h-curl-8.17.0-man
/nix/store/yhxa1py6ya5w18c8s4jq0zh8yd34w291-die-hook
/nix/store/nyy0bvgjwd98x7ih8pl6pr79qjljgsf7-file-5.45
/nix/store/a245z3cvf9x9sn0xlk6k8j9xhxbhda1z-gcc-wrapper-15.2.0
/nix/store/a8mapvrhrzw6ahgb7iv72h3jbm5ghwdy-git-minimal-2.52.0
/nix/store/bjgsr6vjn2zvp6xp28zf73ny8fnyy74b-gnu-config-2024-01-01
/nix/store/vbah5c4rzy1q1hbqhginyxjhj8d4dj8j-gnumake-4.4.1
/nix/store/kxfavk87jb5rwhi05qbyk8anlwvw1jk8-krb5-1.22.1
/nix/store/gi64nay165p6423nbzncp4xiq1sryx9m-krb5-1.22.1-dev
/nix/store/psvbc8fpgh9qgqfp5ymnr7h0jla36f7p-krb5-1.22.1-lib
/nix/store/vbsr171scsnz906q7v0ivi6vj4zk8pf1-libssh2-1.11.1
/nix/store/84lsi0ixsc5jvms03v6x2dyq8kyy2k0z-libssh2-1.11.1-dev
/nix/store/4vlbi84gav86y4mrs96y78wq71y3zpj2-make-binary-wrapper-hook
/nix/store/1mjmg64bj09mjplbvsaabh58l18p0xjq-mirrors-list
/nix/store/i90b5jvf5f8k1hfai9aj29268580078d-nghttp2-1.67.1
/nix/store/r3f4zs56fzpahwnykhr3wbl1j33ksvxr-nghttp2-1.67.1-dev
/nix/store/jgmb7ck2zrf5sb1fglmxz8r8i8qyflyc-nghttp2-1.67.1-lib
/nix/store/rq6cirp0cs75vnw996kgxx93alqscmid-nix-prefetch-git-26.05
/nix/store/j7368sjzibfyzh6kkr6b70zblw17i602-openssl-3.6.0
/nix/store/mi2gmmmhmyjlcjd7gq0jq7nkx599m6lc-openssl-3.6.0-bin
/nix/store/q6zwrig7ymwbn5hi44py5ai1ixh847s3-openssl-3.6.0-dev
/nix/store/c2p7haf4zzkbrir9zs662r68c5dmylbq-patchelf-0.15.2
/nix/store/dwlrph5ws5dysp85b2jlphr3gam8v037-python3.13-flake8-7.3.0
/nix/store/vqkg8klna9hk199hv14mzjmrr30i7pcn-python3.13-mccabe-0.7.0
/nix/store/y4mh2gjffxm1y7q86p4099m28mcshfr5-python3.13-pycodestyle-2.14.0
/nix/store/7kramlhm4r2gyyrqhsryl9vsgw675i8y-python3.13-pyflakes-3.4.0
/nix/store/y2lfhigqgb00i5wzi26y0dirwb1qmxqg-python3.13-pysocks-1.7.1
/nix/store/ffi9qjcpcgdarfkdx48ywivmxavb5iy3-python3.13-tomli-2.2.1
/nix/store/1rp137lfxq5cir74bv5k1sdb93pkvcym-python3.13-tomli-w-1.2.0
/nix/store/b1djx90jj890xay58sacnl4zzg5jvyd4-rustc-1.92.0
/nix/store/qvpg842zrjkywv7sqgw2h05spdyzcj86-rustc-wrapper-1.92.0
/nix/store/gidygr7l2i5kckd3zv9kfjcymxcycw6y-stdenv-linux
/nix/store/lajqvvaxn87hc409wkxlzfq89ycf0pw4-stdenv-linux
/nix/store/y03z7y8cgdck7vk8qpim30vps4d22gzv-update-autotools-gnu-config-scripts-hook
copying path '/nix/store/vfp1y52qj09zbi4qj7pixf2gyqaf4ysq-cargo-install-hook.sh' from 'https://cache.nixos.org'
copying path '/nix/store/nrfqj41yzaw70bk2nd1vcfnj2gmzx5gw-cargo-auditable-0.7.2' from 'https://cache.nixos.org'
copying path '/nix/store/nyy0bvgjwd98x7ih8pl6pr79qjljgsf7-file-5.45' from 'https://cache.nixos.org'
copying path '/nix/store/bjgsr6vjn2zvp6xp28zf73ny8fnyy74b-gnu-config-2024-01-01' from 'https://cache.nixos.org'
copying path '/nix/store/a245z3cvf9x9sn0xlk6k8j9xhxbhda1z-gcc-wrapper-15.2.0' from 'https://cache.nixos.org'
copying path '/nix/store/vbah5c4rzy1q1hbqhginyxjhj8d4dj8j-gnumake-4.4.1' from 'https://cache.nixos.org'
copying path '/nix/store/c2p7haf4zzkbrir9zs662r68c5dmylbq-patchelf-0.15.2' from 'https://cache.nixos.org'
copying path '/nix/store/b1djx90jj890xay58sacnl4zzg5jvyd4-rustc-1.92.0' from 'https://cache.nixos.org'
copying path '/nix/store/1mjmg64bj09mjplbvsaabh58l18p0xjq-mirrors-list' from 'https://cache.nixos.org'
copying path '/nix/store/l4yqm58fi4b50caazj7wmbzxam6arg0h-curl-8.17.0-man' from 'https://cache.nixos.org'
copying path '/nix/store/i90b5jvf5f8k1hfai9aj29268580078d-nghttp2-1.67.1' from 'https://cache.nixos.org'
copying path '/nix/store/jgmb7ck2zrf5sb1fglmxz8r8i8qyflyc-nghttp2-1.67.1-lib' from 'https://cache.nixos.org'
copying path '/nix/store/j7368sjzibfyzh6kkr6b70zblw17i602-openssl-3.6.0' from 'https://cache.nixos.org'
copying path '/nix/store/yhxa1py6ya5w18c8s4jq0zh8yd34w291-die-hook' from 'https://cache.nixos.org'
copying path '/nix/store/71zazsbsl9j3avg2csbif6cfn2y1s301-bin' from 'https://cache.nixos.org'
copying path '/nix/store/a8mapvrhrzw6ahgb7iv72h3jbm5ghwdy-git-minimal-2.52.0' from 'https://cache.nixos.org'
copying path '/nix/store/vqkg8klna9hk199hv14mzjmrr30i7pcn-python3.13-mccabe-0.7.0' from 'https://cache.nixos.org'
copying path '/nix/store/y4mh2gjffxm1y7q86p4099m28mcshfr5-python3.13-pycodestyle-2.14.0' from 'https://cache.nixos.org'
copying path '/nix/store/7kramlhm4r2gyyrqhsryl9vsgw675i8y-python3.13-pyflakes-3.4.0' from 'https://cache.nixos.org'
copying path '/nix/store/y2lfhigqgb00i5wzi26y0dirwb1qmxqg-python3.13-pysocks-1.7.1' from 'https://cache.nixos.org'
copying path '/nix/store/ffi9qjcpcgdarfkdx48ywivmxavb5iy3-python3.13-tomli-2.2.1' from 'https://cache.nixos.org'
copying path '/nix/store/1rp137lfxq5cir74bv5k1sdb93pkvcym-python3.13-tomli-w-1.2.0' from 'https://cache.nixos.org'
copying path '/nix/store/y03z7y8cgdck7vk8qpim30vps4d22gzv-update-autotools-gnu-config-scripts-hook' from 'https://cache.nixos.org'
copying path '/nix/store/ygaww7hicgfih983g58bp1ad3j4j6xc9-cargo-build-hook.sh' from 'https://cache.nixos.org'
copying path '/nix/store/1gi4iwlg313jn12ar7da3l3w4cv3v12v-cargo-check-hook.sh' from 'https://cache.nixos.org'
copying path '/nix/store/30prgsx2yxvb8sdsgdjn6xjylcs1582d-cargo-setup-hook.sh' from 'https://cache.nixos.org'
copying path '/nix/store/4vlbi84gav86y4mrs96y78wq71y3zpj2-make-binary-wrapper-hook' from 'https://cache.nixos.org'
copying path '/nix/store/r3f4zs56fzpahwnykhr3wbl1j33ksvxr-nghttp2-1.67.1-dev' from 'https://cache.nixos.org'
copying path '/nix/store/dwlrph5ws5dysp85b2jlphr3gam8v037-python3.13-flake8-7.3.0' from 'https://cache.nixos.org'
copying path '/nix/store/gidygr7l2i5kckd3zv9kfjcymxcycw6y-stdenv-linux' from 'https://cache.nixos.org'
copying path '/nix/store/lajqvvaxn87hc409wkxlzfq89ycf0pw4-stdenv-linux' from 'https://cache.nixos.org'
builder.pl> building '/nix/store/2814rf38lfnvbvgv9hp95kagjhaf421b-builder.pl.drv'
copying path '/nix/store/psvbc8fpgh9qgqfp5ymnr7h0jla36f7p-krb5-1.22.1-lib' from 'https://cache.nixos.org'
copying path '/nix/store/vbsr171scsnz906q7v0ivi6vj4zk8pf1-libssh2-1.11.1' from 'https://cache.nixos.org'
copying path '/nix/store/mi2gmmmhmyjlcjd7gq0jq7nkx599m6lc-openssl-3.6.0-bin' from 'https://cache.nixos.org'
builder.pl> Running phase: patchPhase
pythoncheck.sh> building '/nix/store/i75jdj3aimspvxj0kf6657gpb02357z4-pythoncheck.sh.drv'
pythoncheck.sh> building '/nix/store/mdb79r8mxa51gbsaf449sjpaz2c61bh0-pythoncheck.sh.drv'
builder.pl> Running phase: updateAutotoolsGnuConfigScriptsPhase
builder.pl> Running phase: configurePhase
builder.pl> no configure script, doing nothing
builder.pl> Running phase: buildPhase
builder.pl> Running phase: checkPhase
builder.pl> Running phase: installPhase
builder.pl> no Makefile or custom installPhase, doing nothing
builder.pl> Running phase: fixupPhase
builder.pl> shrinking RPATHs of ELF executables and libraries in /nix/store/jin84i2lrd93d4974rx6g5azy72mxfl5-builder.pl
builder.pl> checking for references to /build/ in /nix/store/jin84i2lrd93d4974rx6g5azy72mxfl5-builder.pl...
builder.pl> patching script interpreter paths in /nix/store/jin84i2lrd93d4974rx6g5azy72mxfl5-builder.pl
pythoncheck.sh> building '/nix/store/m2abrhsjjny8547xy02rxsr841v4cdd2-pythoncheck.sh.drv'
python3-3.13.11-env> building '/nix/store/gldb3d4i93dzg98lwcn707fcwf7p9q9j-python3-3.13.11-env.drv'
python3-3.13.11-env> building '/nix/store/lrwmq3ii7rwkra2k3q6szk1bg0vcjzw4-python3-3.13.11-env.drv'
pythoncheck.sh> building '/nix/store/qymwfixrdpyq31sg76qqv77vwyhapsac-pythoncheck.sh.drv'
python3-3.13.11-env> created 219 symlinks in user environment
copying path '/nix/store/z2p2fghmmlz811h4m5gf8dvv831n7pd1-curl-8.17.0' from 'https://cache.nixos.org'
copying path '/nix/store/q6zwrig7ymwbn5hi44py5ai1ixh847s3-openssl-3.6.0-dev' from 'https://cache.nixos.org'
copying path '/nix/store/kxfavk87jb5rwhi05qbyk8anlwvw1jk8-krb5-1.22.1' from 'https://cache.nixos.org'
python3-3.13.11-env> created 239 symlinks in user environment
copying path '/nix/store/nkcdnynzmpivn89lqqz3iby95w36vbfi-curl-8.17.0-bin' from 'https://cache.nixos.org'
copying path '/nix/store/gi64nay165p6423nbzncp4xiq1sryx9m-krb5-1.22.1-dev' from 'https://cache.nixos.org'
copying path '/nix/store/84lsi0ixsc5jvms03v6x2dyq8kyy2k0z-libssh2-1.11.1-dev' from 'https://cache.nixos.org'
copying path '/nix/store/rq6cirp0cs75vnw996kgxx93alqscmid-nix-prefetch-git-26.05' from 'https://cache.nixos.org'
copying path '/nix/store/1zpdv6g5dawfialmjqnrizmg9c27df8k-curl-8.17.0-dev' from 'https://cache.nixos.org'
source> building '/nix/store/ihayggk1crzp865xyfgxh2if2gxsxx98-source.drv'
source> structuredAttrs is enabled
source>
source> trying https://github.com/Jupiee/rawst/archive/0.8.1.tar.gz
source> % Total % Received % Xferd Average Speed Time Time Time Current
source> Dload Upload Total Spent Left Speed
replace-workspace-values> building '/nix/store/pdaq1sljxzgahmkbzqc7ndp5j8bvv6sg-replace-workspace-values.drv'
fetch-cargo-vendor-util> building '/nix/store/4kya279wqzzd6kwq5n0vwhkm4wrpy8cj-fetch-cargo-vendor-util.drv'
source> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
source> 100 49242 0 49242 0 0 39634 0 --:--:-- 0:00:01 --:--:-- 140290
source> unpacking source archive /build/download.tar.gz
rawst-0.8.1-vendor-staging> building '/nix/store/s96fnwvwkj6y1bacswb0a1p059xxsf6r-rawst-0.8.1-vendor-staging.drv'
rawst-0.8.1-vendor-staging> Running phase: unpackPhase
rawst-0.8.1-vendor-staging> unpacking source archive /nix/store/zw7m1vai3pwg5kc7knv02w7w6r2n7xz4-source
rawst-0.8.1-vendor-staging> source root is source
rawst-0.8.1-vendor-staging> Running phase: patchPhase
rawst-0.8.1-vendor-staging> Running phase: updateAutotoolsGnuConfigScriptsPhase
rawst-0.8.1-vendor-staging> Running phase: buildPhase
rawst-0.8.1-vendor-staging> Skipping local dependency: rawst_dl
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/addr2line/0.24.2/download -> tarballs/addr2line-0.24.2.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/bitflags/2.6.0/download -> tarballs/bitflags-2.6.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/clap_derive/4.5.32/download -> tarballs/clap_derive-4.5.32.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/deranged/0.3.11/download -> tarballs/deranged-0.3.11.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/futures-core/0.3.31/download -> tarballs/futures-core-0.3.31.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/adler2/2.0.0/download -> tarballs/adler2-2.0.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/futures-executor/0.3.31/download -> tarballs/futures-executor-0.3.31.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/android-tzdata/0.1.1/download -> tarballs/android-tzdata-0.1.1.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/clap_lex/0.7.4/download -> tarballs/clap_lex-0.7.4.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/futures-io/0.3.31/download -> tarballs/futures-io-0.3.31.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/android_system_properties/0.1.5/download -> tarballs/android_system_properties-0.1.5.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/digest/0.10.7/download -> tarballs/digest-0.10.7.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/colorchoice/1.0.3/download -> tarballs/colorchoice-1.0.3.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/block-buffer/0.10.4/download -> tarballs/block-buffer-0.10.4.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/futures-macro/0.3.31/download -> tarballs/futures-macro-0.3.31.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/anstream/0.6.18/download -> tarballs/anstream-0.6.18.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/directories/6.0.0/download -> tarballs/directories-6.0.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/bumpalo/3.16.0/download -> tarballs/bumpalo-3.16.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/colored/2.2.0/download -> tarballs/colored-2.2.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/futures-sink/0.3.31/download -> tarballs/futures-sink-0.3.31.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/anstyle/1.0.10/download -> tarballs/anstyle-1.0.10.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/concolor/0.1.1/download -> tarballs/concolor-0.1.1.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/byteorder/1.5.0/download -> tarballs/byteorder-1.5.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/futures-task/0.3.31/download -> tarballs/futures-task-0.3.31.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/dirs-sys/0.5.0/download -> tarballs/dirs-sys-0.5.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/anstyle-parse/0.2.6/download -> tarballs/anstyle-parse-0.2.6.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/bytes/1.9.0/download -> tarballs/bytes-1.9.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/concolor-clap/0.1.0/download -> tarballs/concolor-clap-0.1.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/futures-util/0.3.31/download -> tarballs/futures-util-0.3.31.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/anstyle-query/1.1.2/download -> tarballs/anstyle-query-1.1.2.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/concolor-query/0.3.3/download -> tarballs/concolor-query-0.3.3.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/displaydoc/0.2.5/download -> tarballs/displaydoc-0.2.5.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/anstyle-wincon/3.0.6/download -> tarballs/anstyle-wincon-3.0.6.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/cc/1.2.7/download -> tarballs/cc-1.2.7.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/generic-array/0.14.7/download -> tarballs/generic-array-0.14.7.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/console/0.15.10/download -> tarballs/console-0.15.10.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/document-features/0.2.10/download -> tarballs/document-features-0.2.10.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/autocfg/1.4.0/download -> tarballs/autocfg-1.4.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/cfg-if/1.0.0/download -> tarballs/cfg-if-1.0.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/getrandom/0.2.15/download -> tarballs/getrandom-0.2.15.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/cookie/0.18.1/download -> tarballs/cookie-0.18.1.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/encode_unicode/1.0.0/download -> tarballs/encode_unicode-1.0.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/backtrace/0.3.74/download -> tarballs/backtrace-0.3.74.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/cfg_aliases/0.2.1/download -> tarballs/cfg_aliases-0.2.1.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/equivalent/1.0.1/download -> tarballs/equivalent-1.0.1.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/base64/0.22.1/download -> tarballs/base64-0.22.1.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/chrono/0.4.40/download -> tarballs/chrono-0.4.40.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/fern/0.7.1/download -> tarballs/fern-0.7.1.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/bitflags/1.3.2/download -> tarballs/bitflags-1.3.2.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/clap/4.5.36/download -> tarballs/clap-4.5.36.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/fnv/1.0.7/download -> tarballs/fnv-1.0.7.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/http/1.2.0/download -> tarballs/http-1.2.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/clap-num/1.2.0/download -> tarballs/clap-num-1.2.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/form_urlencoded/1.2.1/download -> tarballs/form_urlencoded-1.2.1.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/futures/0.3.31/download -> tarballs/futures-0.3.31.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/clap_builder/4.5.36/download -> tarballs/clap_builder-4.5.36.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/http-body/1.0.1/download -> tarballs/http-body-1.0.1.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/futures-channel/0.3.31/download -> tarballs/futures-channel-0.3.31.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/clap_complete/4.5.47/download -> tarballs/clap_complete-4.5.47.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/http-body-util/0.1.2/download -> tarballs/http-body-util-0.1.2.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/icu_locid_transform_data/1.5.0/download -> tarballs/icu_locid_transform_data-1.5.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/is-terminal/0.4.13/download -> tarballs/is-terminal-0.4.13.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/httparse/1.9.5/download -> tarballs/httparse-1.9.5.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/humantime/2.2.0/download -> tarballs/humantime-2.2.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/icu_normalizer/1.5.0/download -> tarballs/icu_normalizer-1.5.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/hyper/1.5.2/download -> tarballs/hyper-1.5.2.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/icu_normalizer_data/1.5.0/download -> tarballs/icu_normalizer_data-1.5.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/hyper-rustls/0.27.5/download -> tarballs/hyper-rustls-0.27.5.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/icu_properties/1.5.1/download -> tarballs/icu_properties-1.5.1.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/hyper-util/0.1.10/download -> tarballs/hyper-util-0.1.10.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/icu_properties_data/1.5.0/download -> tarballs/icu_properties_data-1.5.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/is_terminal_polyfill/1.70.1/download -> tarballs/is_terminal_polyfill-1.70.1.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/iana-time-zone/0.1.61/download -> tarballs/iana-time-zone-0.1.61.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/itoa/1.0.14/download -> tarballs/itoa-1.0.14.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/icu_provider/1.5.0/download -> tarballs/icu_provider-1.5.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/js-sys/0.3.77/download -> tarballs/js-sys-0.3.77.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/icu_provider_macros/1.5.0/download -> tarballs/icu_provider_macros-1.5.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/idna/1.0.3/download -> tarballs/idna-1.0.3.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/lazy_static/1.5.0/download -> tarballs/lazy_static-1.5.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/idna_adapter/1.2.0/download -> tarballs/idna_adapter-1.2.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/libc/0.2.169/download -> tarballs/libc-0.2.169.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/libredox/0.1.3/download -> tarballs/libredox-0.1.3.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/litemap/0.7.4/download -> tarballs/litemap-0.7.4.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/litrs/0.4.1/download -> tarballs/litrs-0.4.1.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/lock_api/0.4.12/download -> tarballs/lock_api-0.4.12.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/log/0.4.27/download -> tarballs/log-0.4.27.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/memchr/2.7.4/download -> tarballs/memchr-2.7.4.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/mime/0.3.17/download -> tarballs/mime-0.3.17.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/miniz_oxide/0.8.2/download -> tarballs/miniz_oxide-0.8.2.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/mio/1.0.3/download -> tarballs/mio-1.0.3.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/num-conv/0.1.0/download -> tarballs/num-conv-0.1.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/num-traits/0.2.19/download -> tarballs/num-traits-0.2.19.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/number_prefix/0.4.0/download -> tarballs/number_prefix-0.4.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/object/0.36.7/download -> tarballs/object-0.36.7.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/once_cell/1.20.2/download -> tarballs/once_cell-1.20.2.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/option-ext/0.2.0/download -> tarballs/option-ext-0.2.0.tar.gz
rawst-0.8.1-vendor-staging> Fetching https://crates.io/api/v1/crates/parking_lot/0.12.3/download -> tarballs/parking_lot-0.12.3.tar.gz
copying path '/nix/store/qvpg842zrjkywv7sqgw2h05spdyzcj86-rustc-wrapper-1.92.0' from 'https://cache.nixos.org'
copying path '/nix/store/yqcsaywfvcyy9wmbzb5fawp29icgi7cb-cargo-1.92.0' from 'https://cache.nixos.org'
copying path '/nix/store/bgmddh2lxi5nhn9rdi3lbvk2m301jn4r-auditable-cargo-1.92.0' from 'https://cache.nixos.org'
┏━ Dependency Graph:
┃ ┌─ ✔ python3-3.13.11-env ⏱ 1s
┃ ┌─ ✔ replace-workspace-values
┃ │ ┌─ ✔ python3-3.13.11-env ⏱ 2s
┃ │ ┌─ ✔ fetch-cargo-vendor-util
┃ │ ├─ ✔ source ⏱ 1s
┃ ├─ ⏵ rawst-0.8.1-vendor-staging (buildPhase) ⏱ 12h25m16s (∅ 12s)
┃ ┌─ ⏸ rawst-0.8.1-vendor
┃ ⏸ rawst-0.8.1
┣━━━ Builds │ Downloads │ Host
┃ ⏵ 1 │ ✔ 10 │ │ │ │ │ localhost
┃ │ │ │ │ ↓ 45 │ │ https://cache.nixos.org
┗━ ∑ ⏵ 1 │ ✔ 10 │ ⏸ 2 │ ↓ 0 │ ↓ 45 │ ⏸ 0 │ ⏱ 12h25m25s
I cannot replicate your issue. I have built it against NixOS unstable. It took about 10 minutes.
cargoHash = “sha256-wS1dR6r3/4sg4DCMR8QZjbHgiSEhuu/v4MqJ6LxEKtY=”;
Even with this hash, something doesn’t work.
The only thing that helped
cargoLock = {
lockFile = "${src}/Cargo.lock";
};
This is causing IFD and not allowed for contributions to nixpkgs.