Pianoteq: Difference between revisions

Av53pt (talk | contribs)
Create instructions to install Pianoteq
 
Klinger (talk | contribs)
 
(One intermediate revision by one other user not shown)
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.
[[Category:Applications]]