ref: 715c88f570f49e7c6729e2c3a71b819ae64a12d9
dir: /default.nix/
# nix-env -i -f ./default.nix { nixpkgs ? import <nixpkgs> {} }: with nixpkgs; stdenv.mkDerivation rec { name = "orca"; src = ./.; buildInputs = [ ncurses portmidi ]; enableParallelBuilding = true; buildPhase = '' patchShebangs ./tool make ''; installPhase = '' mkdir -p $out/bin cp build/orca $out/bin/orca ''; }