Skip to content

Instantly share code, notes, and snippets.

@kazcw
Created November 9, 2018 19:26
Show Gist options
  • Save kazcw/4393c75692641346de41d2dceb23507f to your computer and use it in GitHub Desktop.
Save kazcw/4393c75692641346de41d2dceb23507f to your computer and use it in GitHub Desktop.
nix script to build rustc from local source
stdenv.mkDerivation {
name = "rustc-local";
buildInputs = [
gcc gnumake python2 cmake curl git
# if enabled in config.toml
ninja
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment