mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
cc-wrapper: add zig
This commit is contained in:
parent
65c81d4eae
commit
e9fb54b256
@ -15,7 +15,8 @@
|
|||||||
, propagateDoc ? cc != null && cc ? man
|
, propagateDoc ? cc != null && cc ? man
|
||||||
, extraTools ? [], extraPackages ? [], extraBuildCommands ? ""
|
, extraTools ? [], extraPackages ? [], extraBuildCommands ? ""
|
||||||
, nixSupport ? {}
|
, nixSupport ? {}
|
||||||
, isGNU ? false, isClang ? cc.isClang or false, isCcache ? cc.isCcache or false, gnugrep ? null
|
, isGNU ? false, isClang ? cc.isClang or false, isZig ? cc.isZig or false, isCcache ? cc.isCcache or false
|
||||||
|
, gnugrep ? null
|
||||||
, expand-response-params
|
, expand-response-params
|
||||||
, libcxx ? null
|
, libcxx ? null
|
||||||
|
|
||||||
@ -311,7 +312,7 @@ stdenvNoCC.mkDerivation {
|
|||||||
# Binutils, and Apple's "cctools"; "bintools" as an attempt to find an
|
# Binutils, and Apple's "cctools"; "bintools" as an attempt to find an
|
||||||
# unused middle-ground name that evokes both.
|
# unused middle-ground name that evokes both.
|
||||||
inherit bintools;
|
inherit bintools;
|
||||||
inherit cc libc libcxx nativeTools nativeLibc nativePrefix isGNU isClang;
|
inherit cc libc libcxx nativeTools nativeLibc nativePrefix isGNU isClang isZig;
|
||||||
|
|
||||||
emacsBufferSetup = pkgs: ''
|
emacsBufferSetup = pkgs: ''
|
||||||
; We should handle propagation here too
|
; We should handle propagation here too
|
||||||
|
@ -16662,6 +16662,7 @@ with pkgs;
|
|||||||
|
|
||||||
isGNU = cc.isGNU or false;
|
isGNU = cc.isGNU or false;
|
||||||
isClang = cc.isClang or false;
|
isClang = cc.isClang or false;
|
||||||
|
isZig = cc.isZig or false;
|
||||||
|
|
||||||
inherit cc bintools libc libcxx extraPackages nixSupport zlib;
|
inherit cc bintools libc libcxx extraPackages nixSupport zlib;
|
||||||
} // extraArgs; in self);
|
} // extraArgs; in self);
|
||||||
|
Loading…
Reference in New Issue
Block a user