Created
November 9, 2018 19:26
-
-
Save kazcw/4393c75692641346de41d2dceb23507f to your computer and use it in GitHub Desktop.
nix script to build rustc from local source
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
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