mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #230305 from trofi/realesrgan-ncnn-vulkan-no-libgcc
realesrgan-ncnn-vulkan: drop redundant libgcc dependency
This commit is contained in:
commit
2137dec765
@ -7,7 +7,6 @@
|
||||
, vulkan-headers
|
||||
, vulkan-loader
|
||||
, glslang
|
||||
, libgcc
|
||||
, libwebp
|
||||
, ncnn
|
||||
}:
|
||||
@ -44,8 +43,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ vulkan-headers vulkan-loader glslang libwebp ncnn ]
|
||||
++ lib.optional (!stdenv.isDarwin) libgcc;
|
||||
buildInputs = [ vulkan-headers vulkan-loader glslang libwebp ncnn ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace main.cpp --replace REPLACE_MODELS $out/share/models
|
||||
@ -62,5 +60,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ tilcreator ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user