Skip to content

Instantly share code, notes, and snippets.

@taktoa
Created August 15, 2020 15:25
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 taktoa/260299de64481cd71c5b8175142b88e6 to your computer and use it in GitHub Desktop.
Save taktoa/260299de64481cd71c5b8175142b88e6 to your computer and use it in GitHub Desktop.
rec {
nixpkgs = builtins.fetchTarball {
name = "nixos-237781.32b46dd897a";
url = "https://github.com/nixos/nixpkgs/archive/32b46dd897ab2143a609988a04d87452f0bbef59.tar.gz";
sha256 = "1gzfrpjnr1bz9zljsyg3a4zrhk8r927sz761mrgcg56dwinkhpjk";
};
pkgs = import nixpkgs {};
rust-xtensa = pkgs.rustc.overrideAttrs (old: {
src = pkgs.fetchFromGitHub {
owner = "MabezDev";
repo = "rust-xtensa";
rev = "83ae8c3ba9864eb42de6346f10a18bf2339945d3";
sha256 = "0lbihy0c1m3iwi7csw269y6qi5cqz5q423bd1ic1plns5v1jwc9d";
};
configureFlags = [
"--experimental-targets=Xtensa"
] ++ (old.configureFlags or []);
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment