-
-
Save taktoa/260299de64481cd71c5b8175142b88e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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