about summary refs log tree commit diff
path: root/pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix')
-rw-r--r--pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix b/pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix
index 59c2753011d3..450e36e6d3ee 100644
--- a/pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix
+++ b/pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix
@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
     cp -r ${models}/models $out/share
   '';
 
-  postFixup = lib.optionalString stdenv.isLinux ''
+  postFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
     patchelf $out/bin/realesrgan-ncnn-vulkan --add-needed libvulkan.so
   '';