xrsh-buildroot/nix/howto.txt

4 lines
221 B
Plaintext

nix-shell --run gcc -m32 -static hello.c -o hello cross.nix
nix-shell --run 'gcc -m32 -static hello.c -o hello' cross.nix
nix-build '<nixpkgs>' -I nixpkgs=channel:nixos-24.05 -A pkgsCross.i686-embedded.hello --show-trace