Merge branch 'staging-next' (PR #91090)
This commit is contained in:
@@ -11,7 +11,11 @@ stdenv.mkDerivation rec {
|
||||
preConfigure = ''configureFlags="--with-cupsbackenddir=$out/lib/cups/backend"'';
|
||||
|
||||
buildInputs = [cups];
|
||||
NIX_CFLAGS_COMPILE = [ "-include stdio.h" "-Wno-error=stringop-truncation" ];
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-include stdio.h"
|
||||
"-Wno-error=stringop-truncation"
|
||||
"-Wno-error=deprecated-declarations"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "CUPS back-end for Canon printers";
|
||||
|
||||
@@ -43,9 +43,6 @@ stdenv.mkDerivation rec {
|
||||
libXdmcp libXext libXxf86vm mesa udev
|
||||
wayland libxkbcommon ];
|
||||
|
||||
# we use prefix-less pkg-config
|
||||
PKG_CONF_PATH = "pkg-config";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = stdenv.lib.optionals stdenv.isLinux [ "--enable-kms" "--enable-egl" ];
|
||||
|
||||
@@ -99,9 +99,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cp -r Resource "$out/share/ghostscript/${version}"
|
||||
|
||||
mkdir -p "$doc/share/doc/ghostscript"
|
||||
mv "$doc/share/doc/${version}" "$doc/share/doc/ghostscript/"
|
||||
|
||||
ln -s "${fonts}" "$out/share/ghostscript/fonts"
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
for file in $out/lib/*.dylib* ; do
|
||||
|
||||
@@ -98,8 +98,6 @@ self: super: {
|
||||
# These usually implicitly set by cc-wrapper around clang (pkgs/build-support/cc-wrapper).
|
||||
# The linked ruby code shows generates the required '.clang_complete' for cmake based projects
|
||||
# https://gist.github.com/Mic92/135e83803ed29162817fce4098dec144
|
||||
# as an alternative you can execute the following command:
|
||||
# $ eval echo $(nix-instantiate --eval --expr 'with (import <nixpkgs>) {}; clang.default_cxx_stdlib_compile')
|
||||
preFixup = ''
|
||||
substituteInPlace "$out"/share/vim-plugins/clang_complete/plugin/clang_complete.vim \
|
||||
--replace "let g:clang_library_path = '' + "''" + ''" "let g:clang_library_path='${llvmPackages.clang.cc.lib}/lib/libclang.so'"
|
||||
|
||||
Reference in New Issue
Block a user