diff --git a/pkgs/applications/graphics/unigine-superposition/default.nix b/pkgs/applications/graphics/unigine-superposition/default.nix index 926fe1a1d744c..6d62edab7a4a5 100644 --- a/pkgs/applications/graphics/unigine-superposition/default.nix +++ b/pkgs/applications/graphics/unigine-superposition/default.nix @@ -28,10 +28,11 @@ }: let + pname = "unigine-superposition"; + version = "1.1"; superposition = stdenv.mkDerivation rec{ - pname = "unigine-superposition"; - version = "1.1"; + inherit pname version; src = fetchurl { url = "https://assets.unigine.com/d/Unigine_Superposition-${version}.run"; @@ -97,7 +98,7 @@ in # For that we need use a buildFHSEnv. buildFHSEnv { - name = "Superposition"; + inherit pname version; targetPkgs = pkgs: [ superposition