1w6 uRPG 1w6 uRPG
  • Anmelden
  • Öffentlich

    • Öffentlich
    • Gruppen
    • Beliebt
    • Verzeichnis

https://sn.1w6.org/file/clacke-20180214T032615-d3pv4y4.html

https://sn.1w6.org/file/clacke-20180214T032615-d3pv4y4.html
I may have some Rust coding ahead of me, so I looked up the options for doing the equivalent of rustup, but within #nix. Looks like others had the same need:

https://www.mail-archive.com/nix-dev@lists.science.uu.nl/msg33296.html

> I created an overlay which mimic rustup behaviour, and allow you to
spawn a nix-shell with the latest nightly, beta, or stable version of
rustc & cargo.

> To use this overlay, checkout nixpkgs-mozilla [1], and create a
symbolic link to the file rust-overlay.nix [2] in the
~/.config/nixpkgs/overlays

Ok, so whenever you want to use a newer rust, you just git pull this thing and ...

> This overlay should auto-update it-self as if you were running rustup
each time you go through the rustChannels attributes. It works by
using the fetchurl builtin function to pull the same file as rustup do
through https.

Oh! Awesome.

[1] https://github.com/mozilla/nixpkgs-mozilla
[2] https://github.com/mozilla/nixpkgs-mozilla/blob/master/rust-overlay.nix

Nachrichten, in denen dieser Anhang erscheint

  1. clacke clacke

    I may have some Rust coding ahead of me, so I looked up the options for doing the equivalent of rustup, but within #nix. Looks like others had the same need: https://www.mail-archive.com/nix-dev@lists.science.uu.nl/msg33296.html > I cr…

    Wednesday, 14-Feb-18 03:25:52 UTC
  • Hilfe
  • Über
  • FAQ
  • AGB
  • Privatsphäre
  • Quellcode
  • Version
  • Kontakt

1w6 uRPG ist ein Mikrobloggingdienst von Arne (Drak) Babenhauserheide. Es wird mit der Mikrobloggingsoftware StatusNet (Version 1.1.1-release) betrieben, die unter der GNU Affero General Public License erhältlich ist. The running version includes the patches from draketo.de/proj/statusnet-patches.

Creative Commons Attribution 3.0 Alle Inhalte und Daten von 1w6 uRPG sind unter der Creative Commons Attribution 3.0 Lizenz verfügbar.