Skip to content

axiom/nix-pianoteq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pianoteq Nix Flake

A Nix flake that installs Pianoteq 7, 8, and 9 on NixOS. The license key and binary are still required and must be acquired manually from https://www.modartt.com/.

Quick Start

Install Full Version (recommended)

nix profile install .#pianoteq9  # Latest version with all formats

Install Specific Format Only

# VST3 plugin only (for DAW usage)
nix profile install .#pianoteq9-vst3

# Standalone application only
nix profile install .#pianoteq9-standalone

# LV2 plugin only
nix profile install .#pianoteq9-lv2

Available Packages

Package Description
pianoteq9 Default - Full version (Standalone + VST3 + LV2)
pianoteq9-standalone Standalone only
pianoteq9-vst3 VST3 plugin only
pianoteq9-lv2 LV2 plugin only
pianoteq8 Full version (Standalone + LV2)
pianoteq8-standalone Standalone only
pianoteq8-lv2 LV2 plugin only
pianoteq7 Full version (Standalone + LV2)
pianoteq7-standalone Standalone only
pianoteq7-lv2 LV2 plugin only

Installation Steps

Download Pianoteq

Download the appropriate file from https://www.modartt.com/:

  • Pianoteq 9: pianoteq_setup_v912.tar.xz
  • Pianoteq 8: pianoteq_linux_v843.7z
  • Pianoteq 7: pianoteq_linux_v754.7z

Add to Nix Store

nix store add-file ./downloaded-file.tar.xz

Install Package

# Install directly
nix profile install .#pianoteq9

# Or add to your flake inputs
inputs = {
  pianoteq.url = "github:yourusername/nix-pianoteq";
};

# Install in configuration.nix or home-manager
environment.systemPackages = [
  inputs.pianoteq.packages.x86_64-linux.default
];

Adding New Versions

To add a new Pianoteq version:

Download and Add to Store

# Download new version
wget https://www.modartt.com/download?file=pianoteq_linux_vXYZ.7z

# Add to nix store
nix store add-file ./pianoteq_linux_vXYZ.7z

Generate Hash (only for new versions)

When adding a new version to the flake, generate the hash:

nix hash file --sri ./pianoteq_linux_vXYZ.7z

Update Version Configuration

Add to the versions section in flake.nix:

pianoteqX = { 
  version = "X.Y.Z"; 
  file = "pianoteq_linux_vXYZ.7z"; 
  hash = "sha256-GENERATED_HASH_HERE"; 
  compression = "7z"; # or "tar.xz"
  majorVersion = "X";
  hasVst3 = true/false;   # Set based on actual contents  
  hasLv2 = true/false;     # Set based on actual contents
};

Version Support

Linux VST3 support was introduced in Pianoteq 9; earlier versions (7 and 8) only support standalone and LV2 formats.

Troubleshooting

"Package has unfree license" Error

Pianoteq is proprietary software. Allow unfree packages:

# For single command
NIXPKGS_ALLOW_UNFREE=1 nix build .#pianoteq9 --impure

# For system-wide
# Add to configuration.nix:
{ nixpkgs.config.allowUnfree = true; }

"File not found in nix store" Error

Make sure to add the downloaded file to the nix store:

nix store add-file ./pianoteq_setup_v911.tar.xz

Hash Mismatch

If you get a hash mismatch error, but want to use the downloaded file anyway, regenerate the hash:

nix hash file --sri ./your-downloaded-file

Then update the hash in the versions section of flake.nix.

Development

Development Shell

For easier maintenance and formatting:

nix develop

Code Formatting

Format Nix files with the built-in formatter:

nix fmt .

About

A Nix flake that installs Pianoteq on NixOS. (License key and binary are required and have to be acquired manually)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Nix 100.0%