Skip to content

Instantly share code, notes, and snippets.

@rexim
Last active May 29, 2016 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rexim/ebb0af015521d5c28a8ad33955837c74 to your computer and use it in GitHub Desktop.
Save rexim/ebb0af015521d5c28a8ad33955837c74 to your computer and use it in GitHub Desktop.

Usage

$ git clone git@github.com:musitdev/portmidi-rs.git
$ nix-shell midi-looper.nix -A midiLooperEnv
$ cd portmidi-rs
$ cargo run --example play
let
pkgs = import <nixpkgs> {};
stdenv = pkgs.stdenv;
in rec {
midiLooperEnv = stdenv.mkDerivation rec {
name = "midi-looper-env";
version = "0.0.1";
src = ./.;
buildInputs = [ pkgs.rustc pkgs.cargo pkgs.portmidi ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment