about summary refs log tree commit diff
path: root/pkgs/applications/video/losslesscut-bin
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/losslesscut-bin
parentecab3edeb79a5257974d24acd04e5c9b3c245e6c (diff)
treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform
Diffstat (limited to 'pkgs/applications/video/losslesscut-bin')
-rw-r--r--pkgs/applications/video/losslesscut-bin/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/video/losslesscut-bin/default.nix b/pkgs/applications/video/losslesscut-bin/default.nix
index 267393ad0548d..02f71a94db5c9 100644
--- a/pkgs/applications/video/losslesscut-bin/default.nix
+++ b/pkgs/applications/video/losslesscut-bin/default.nix
@@ -1,7 +1,7 @@
 { lib
+, stdenv
 , callPackage
 , buildPackages
-, hostPlatform
 }:
 
 let
@@ -34,9 +34,9 @@ let
   };
 in
 (
-  if hostPlatform.system == "aarch64-darwin" then aarch64-dmg
-  else if hostPlatform.isDarwin then x86_64-dmg
-  else if hostPlatform.isCygwin then x86_64-windows
+  if stdenv.hostPlatform.system == "aarch64-darwin" then aarch64-dmg
+  else if stdenv.hostPlatform.isDarwin then x86_64-dmg
+  else if stdenv.hostPlatform.isCygwin then x86_64-windows
   else x86_64-appimage
 ).overrideAttrs
   (oldAttrs: {