Axka (talk | contribs)
Artturin (talk | contribs)
Tags: Reply Mobile edit Mobile web edit
Line 16: Line 16:


https://wiki.nixos.org/w/index.php?title=Rust&diff=prev&oldid=18191 [[User:Axka|Axka]] ([[User talk:Axka|talk]]) 23:39, 2 April 2025 (UTC)
https://wiki.nixos.org/w/index.php?title=Rust&diff=prev&oldid=18191 [[User:Axka|Axka]] ([[User talk:Axka|talk]]) 23:39, 2 April 2025 (UTC)
:Using packages directly from `pkgs` will not work properly with cross-compilation, instead the packages should be gotten from `pkgs.__splicedPackages` (packages will have `__spliced` attr) which allows stdenv to pick the correct offset dependency for the dependency attributes. `callPackage` gets packages from `__splicedPackages` [[User:Artturin|Artturin]] ([[User talk:Artturin|talk]]) 23:44, 2 April 2025 (UTC)