Skip to content

Instantly share code, notes, and snippets.

@thefloweringash
Created October 15, 2020 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thefloweringash/e29716fcf0ee919fd7f9b71d2e2f7f9c to your computer and use it in GitHub Desktop.
Save thefloweringash/e29716fcf0ee919fd7f9b71d2e2f7f9c to your computer and use it in GitHub Desktop.
nixpkgs cross compile clang
lorne@bonbori$ nix-build --argstr localSystem x86_64-linux --argstr crossSystem aarch64-linux -A llvmPackages_10.clang-unwrapped
these derivations will be built:
/nix/store/69i7ml22fw2ai3pdjs37j5c1fgnrc6g2-clang-10.0.1.drv
/nix/store/agj8vazzp4r8fhkl93fxqny7rakrs692-clang-10.0.1-aarch64-unknown-linux-gnu.drv
waiting for locks or build slots...
lorne@bonbori$ nix-build --argstr localSystem x86_64-linux --argstr crossSystem aarch64-linux -A llvmPackages_10.clang
error: attribute 'llvmPackages_10' missing, at /home/lorne/src/nixpkgs/pkgs/top-level/all-packages.nix:9452:27
(use '--show-trace' to show detailed location information)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment