Pianoteq: Difference between revisions
Create instructions to install Pianoteq |
Instructions to override the package to manually download the binary |
||
| Line 31: | Line 31: | ||
]; | ]; | ||
}|name=/etc/nixos/configuration.nix|lang=nix}} | }|name=/etc/nixos/configuration.nix|lang=nix}} | ||
== Manual Download == | |||
If you don't want the password exposed in the configuration file, or if situations don't make the above configuration work, you can manually download the binary from Modartt's website and override the <code>pianoteq</code> package to source the locally downloaded archive. | |||
Download <code>pianoteq_linux_{version}.7z</code> from [https://modartt.com Modartt's website]. Then, put the downloaded archive into nix store:<syntaxhighlight lang="shell"> | |||
$ nix store add-file ./pianoteq_linux_v843.7z | |||
</syntaxhighlight>Then add this to your system configuration: | |||
{{File|3={ | |||
environment.systemPackages = with pkgs; [ | |||
# ... | |||
(pianoteq.standard_8.overrideAttrs { | |||
version = "8.4.3"; | |||
src = pkgs.requireFile { | |||
name = "pianoteq_linux_v843.7z"; | |||
url = "https://www.modartt.com/download"; | |||
sha256 = "sha256-72eV+d3jwRZJSs6I4e055ZrR/dvnhwAaM63eZEQAtOg="; | |||
}; | |||
}) | |||
]; | |||
}|name=/etc/nixos/configuration.nix|lang=nix}} | |||
Adjust the version and hash value if necessary. | |||
Latest revision as of 02:35, 29 January 2026
Pianoteq is a proprietary, commercial virtual instrument plugin that features physically modelled piano and other instruments.
Installation
Nixpkgs contains different editions of Pianoteq under pianoteq package sets. Since the binary for purchased product can only be downloaded after logging into Modartt's website, you need to pass the credentials to nix environment variables.
Add the following to your system configuration:
{
# Pass modartt credentials to nix environment variables to automatically download the binary
nix.envVars = {
NIX_MODARTT_USERNAME = "...";
NIX_MODARTT_PASSWORD = "...";
};
environment.systemPackages = with pkgs; [
# ...
# Pianoteq 8 Stage version
pianoteq.stage_8
# Pianoteq 8 Standard version
pianoteq.standard_8
];
}
Trial versions can also be installed, which don't require Modartt credentials:
{
environment.systemPackages = with pkgs; [
# ...
pianoteq.stage-trial_8
pianoteq.standard-trial_8
];
}
Manual Download
If you don't want the password exposed in the configuration file, or if situations don't make the above configuration work, you can manually download the binary from Modartt's website and override the pianoteq package to source the locally downloaded archive.
Download pianoteq_linux_{version}.7z from Modartt's website. Then, put the downloaded archive into nix store:
$ nix store add-file ./pianoteq_linux_v843.7z
Then add this to your system configuration:
{
environment.systemPackages = with pkgs; [
# ...
(pianoteq.standard_8.overrideAttrs {
version = "8.4.3";
src = pkgs.requireFile {
name = "pianoteq_linux_v843.7z";
url = "https://www.modartt.com/download";
sha256 = "sha256-72eV+d3jwRZJSs6I4e055ZrR/dvnhwAaM63eZEQAtOg=";
};
})
];
}
Adjust the version and hash value if necessary.