Skip to content

Instantly share code, notes, and snippets.

@jD91mZM2
Created October 1, 2018 18:47
Show Gist options
  • Save jD91mZM2/6411bb9fc2a6a85c903286baae4dc3b9 to your computer and use it in GitHub Desktop.
Save jD91mZM2/6411bb9fc2a6a85c903286baae4dc3b9 to your computer and use it in GitHub Desktop.
let
overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
in
with import <nixpkgs> { overlays = [ overlay ]; };
let
buildRustPackage = rustPlatform.buildRustPackage.override {
rust = latest.rustChannels.nightly;
};
in buildRustPackage {
name = "nix-lsp";
src = builtins.filterSource (path: _type: path != (toString ./target)) ./.;
cargoSha256 = "06qfnk0sq4a8f7vwmgwwn9ifkzngp53r4q61a2739rbgc17z0d1b";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment