From 8d4851c6f2e4222aa330a1822dfacfedfd93e604 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Thu, 28 Nov 2024 22:24:10 +0100 Subject: [PATCH] unigine-superposition: fix fhsenv version --- .../graphics/unigine-superposition/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/graphics/unigine-superposition/default.nix b/pkgs/applications/graphics/unigine-superposition/default.nix index 926fe1a1d744..6d62edab7a4a 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