Skip to content

Instantly share code, notes, and snippets.

@arianvp
Created August 6, 2019 19:04
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 arianvp/55fa83018f781f4c47db71b5104af851 to your computer and use it in GitHub Desktop.
Save arianvp/55fa83018f781f4c47db71b5104af851 to your computer and use it in GitHub Desktop.
{ pkgs_ ? import <nixpkgs> {}}:
let pkgs = pkgs_.pkgsCross.aarch64-android-prebuilt;
in
pkgs.rustPlatform.buildRustPackage {
name = "cryptobox-c";
version = "v1.2.2";
src = pkgs.fetchFromGithub {
onwer = "wireapp";
repo = "cryptobox-c";
rev = "3ec5e68e8d1ac4b1fbc0fc38ab6ddfa99ad802d9";
sha256 = pkgs.lib.fakeSha256;
};
cargoSha256 = pkgs.lib.fakeSha256;
}
error: while evaluating the attribute 'buildInputs' of the derivation 'cryptobox-c-aarch64-unknown-linux-android' at /nix/store/v51y17m2myyn2qcvvd6wsbwdrm9ci5fy-nixos-19.03.173077.28e64db237d/nixos/pkgs/stdenv/generic/make-derivation.nix:189:11:
while evaluating the attribute 'postInstall' of the derivation 'cargo-1.32.0-aarch64-unknown-linux-android' at /nix/store/v51y17m2myyn2qcvvd6wsbwdrm9ci5fy-nixos-19.03.173077.28e64db237d/nixos/pkgs/stdenv/generic/make-derivation.nix:189:11:
while evaluating the attribute 'configureFlags' of the derivation 'rustc-1.32.0-aarch64-unknown-linux-android' at /nix/store/v51y17m2myyn2qcvvd6wsbwdrm9ci5fy-nixos-19.03.173077.28e64db237d/nixos/pkgs/stdenv/generic/make-derivation.nix:189:11:
while evaluating the attribute 'depsTargetTargetPropagated' of the derivation 'clang-wrapper-5.0.2-aarch64-unknown-linux-android' at /nix/store/v51y17m2myyn2qcvvd6wsbwdrm9ci5fy-nixos-19.03.173077.28e64db237d/nixos/pkgs/build-support/cc-wrapper/default.nix:77:3:
while evaluating 'getOutput' at /nix/store/v51y17m2myyn2qcvvd6wsbwdrm9ci5fy-nixos-19.03.173077.28e64db237d/nixos/lib/attrsets.nix:464:23, called from undefined position:
while evaluating anonymous function at /nix/store/v51y17m2myyn2qcvvd6wsbwdrm9ci5fy-nixos-19.03.173077.28e64db237d/nixos/pkgs/stdenv/generic/make-derivation.nix:151:17, called from undefined position:
attribute 'llvmPackages_5' missing, at /nix/store/v51y17m2myyn2qcvvd6wsbwdrm9ci5fy-nixos-19.03.173077.28e64db237d/nixos/pkgs/top-level/all-packages.nix:7454:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment