neovim-qt: use stdenvNoCC.mkDerivation
Also replace `stdenv.hostPlatform.isDarwin` with `stdenvNoCC.hostPlatform.isDarwin`, since no compilation occurs in this package. Part of #180841
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{ stdenv, libsForQt5, makeWrapper, neovim, neovim-qt-unwrapped }:
|
||||
{ stdenvNoCC, makeWrapper, neovim, neovim-qt-unwrapped }:
|
||||
|
||||
let
|
||||
unwrapped = neovim-qt-unwrapped;
|
||||
in
|
||||
libsForQt5.mkDerivation {
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "neovim-qt";
|
||||
version = unwrapped.version;
|
||||
buildCommand = if stdenv.hostPlatform.isDarwin then ''
|
||||
buildCommand = if stdenvNoCC.hostPlatform.isDarwin then ''
|
||||
mkdir -p $out/Applications
|
||||
cp -r ${unwrapped}/bin/nvim-qt.app $out/Applications
|
||||
|
||||
|
||||
Reference in New Issue
Block a user