realesrgan-ncnn-vulkan: fix build on aarch64-darwin
This commit is contained in:
parent
a88ca05577
commit
249e904af0
@ -44,7 +44,8 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ vulkan-headers vulkan-loader glslang libgcc libwebp ncnn ];
|
buildInputs = [ vulkan-headers vulkan-loader glslang libwebp ncnn ]
|
||||||
|
++ lib.optional (!stdenv.isDarwin) libgcc;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace main.cpp --replace REPLACE_MODELS $out/share/models
|
substituteInPlace main.cpp --replace REPLACE_MODELS $out/share/models
|
||||||
|
Loading…
Reference in New Issue
Block a user