File: shell.nix

package info (click to toggle)
milkytracker 1.06%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,520 kB
  • sloc: cpp: 179,746; objc: 557; sh: 97; makefile: 8
file content (13 lines) | stat: -rw-r--r-- 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# usage: just install 'nix' packagemanager (nixos.org) and run 'nix-shell' to start developing 
{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShell {
    # nativeBuildInputs is usually what you want -- tools you need to run
    nativeBuildInputs = with pkgs.buildPackages; [ 
     cmake gdb SDL2 alsa-lib libjack2 lhasa perl rtmidi zlib zziplib lynx pkg-config pipewire
    ];

	shellHook = ''
	  export NIX_SHELL_MILKYTRACKER=1
	'';
}