about summary refs log tree commit diff
path: root/pkgs/applications/video/davinci-resolve
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-01-09 05:36:01 +0200
committerArtturin <Artturin@artturin.com>2023-01-09 21:13:22 +0200
commit2eeb34c2737f5eb8a2796701584a7b0551cb053a (patch)
treebbd2d01a65ae344e46a8c91537f6a0f00257d410 /pkgs/applications/video/davinci-resolve
parentecab3edeb79a5257974d24acd04e5c9b3c245e6c (diff)
treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform
Diffstat (limited to 'pkgs/applications/video/davinci-resolve')
-rw-r--r--pkgs/applications/video/davinci-resolve/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/video/davinci-resolve/default.nix b/pkgs/applications/video/davinci-resolve/default.nix
index f931e905127f7..42c1d40b61256 100644
--- a/pkgs/applications/video/davinci-resolve/default.nix
+++ b/pkgs/applications/video/davinci-resolve/default.nix
@@ -3,7 +3,6 @@
 , cacert
 , curl
 , runCommandLocal
-, targetPlatform
 , unzip
 , appimage-run
 , addOpenGLRunpath
@@ -49,7 +48,7 @@ let
           SITEURL = "https://www.blackmagicdesign.com/api/register/us/download/${DOWNLOADID}";
 
           USERAGENT = builtins.concatStringsSep " " [
-            "User-Agent: Mozilla/5.0 (X11; Linux ${targetPlatform.linuxArch})"
+            "User-Agent: Mozilla/5.0 (X11; Linux ${stdenv.targetPlatform.linuxArch})"
             "AppleWebKit/537.36 (KHTML, like Gecko)"
             "Chrome/77.0.3865.75"
             "Safari/537.36"