diff options
author | Orivej Desh <orivej@gmx.fr> | 2017-11-17 18:06:22 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-11-17 18:06:22 +0000 |
commit | 1161741351cbc60581eaecb4df2e1036b1fafd55 (patch) | |
tree | 6c39e36cc3ebeb91d502900c95d33cc26aec7b22 /pkgs/development/compilers/rust/rust-src.nix | |
parent | eb3653482008bf791da71613714294ed4dbfef52 (diff) | |
parent | 73598e3787b34385d04e46830e9a7fdf89cc8ede (diff) | |
download | nixlib-1161741351cbc60581eaecb4df2e1036b1fafd55.tar nixlib-1161741351cbc60581eaecb4df2e1036b1fafd55.tar.gz nixlib-1161741351cbc60581eaecb4df2e1036b1fafd55.tar.bz2 nixlib-1161741351cbc60581eaecb4df2e1036b1fafd55.tar.lz nixlib-1161741351cbc60581eaecb4df2e1036b1fafd55.tar.xz nixlib-1161741351cbc60581eaecb4df2e1036b1fafd55.tar.zst nixlib-1161741351cbc60581eaecb4df2e1036b1fafd55.zip |
Merge branch 'master' into staging
* master: (28 commits) go_1_9: skip flaky TestWaitGroupMisuse2 erlangR18: fix patch hashes with fetchpatch xml2: replace dead links nixos/pam: fix docs about path to u2f_keys file cinelerra: add a note about parallel building msmtp: install docs and examples (#31769) kernel: Fix out-of-tree modules on aarch64 nixos/tests/acme: update terms of service to fix test gixy: init at 0.1.8 pythonPackages.ConfigArgParse: 0.9.3 -> 0.12.0, refactor, move to python-modules mono: init at 4.8 wal-g: fix license so not to break evaluation wal-g: init at 0.1.2 maintainers: add backuitist nixos/prometheus: Correct documentation for external_labels spidermonkey: replace broken links vagrant: removed custom rake gem vagrant: 2.0.0 -> 2.0.1 nixos/prometheus: add external_labels option nixos/prometheus: add scrape_configs.honor_labels ...
Diffstat (limited to 'pkgs/development/compilers/rust/rust-src.nix')
-rw-r--r-- | pkgs/development/compilers/rust/rust-src.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/compilers/rust/rust-src.nix b/pkgs/development/compilers/rust/rust-src.nix new file mode 100644 index 000000000000..1b819a7f6068 --- /dev/null +++ b/pkgs/development/compilers/rust/rust-src.nix @@ -0,0 +1,11 @@ +{ stdenv, rustc }: + +stdenv.mkDerivation { + name = "rust-src"; + src = rustc.src; + phases = [ "unpackPhase" "installPhase" ]; + installPhase = '' + mv src $out + rm -rf $out/{ci,doc,driver,etc,grammar,llvm,rt,rtstartup,rustllvm,test,tools,vendor} + ''; +} |