Plasticity
Table of Contents
1. What
I had initially bought a license for plasticity under the guise that I would not need to keep paying for it, this is true but your license dictates a max version number, I have the Indie 1.0 License and my latetst version is 1.4.20. For OSx or Windows, you would just download the right release, but for NixOS you need to pin the version. I found that the version attribute is not enough to fix this and the url and hash need to be adjusted as well.
2. The Fix
This fragment works for me, if you have access to a different version change the url and let the hash error out. Replace it with the value nixos-rebuild switch tells you.
environment.systemPackages = [ (plasticity.overrideAttrs { version = "1.4.20"; src = fetchurl { url = "https://github.com/nkallen/plasticity/releases/download/v1.4.20/Plasticity-1.4.20-1.x86_64.rpm"; hash = "sha256-i2n35UmRSEtkaPvJDPC2imYqgIx+qKu4bOaarYl9qQQ="; }; }) ];
To a Nix veteran you already know this, but if you’re new this is something you can do across the system, its pretty neat.