Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
629 B · 33 lines
Nix
12345678910111213141516171819202122232425262728293031323334{ lib, stdenv, wrapCCWith, overrideCC, zig, version, src,}:stdenv.mkDerivation (finalAttrs: { pname = "arocc"; inherit version src;
nativeBuildInputs = [ zig.hook ];
passthru = { inherit zig; isArocc = true; wrapped = wrapCCWith { cc = finalAttrs.finalPackage; }; stdenv = overrideCC stdenv finalAttrs.passthru.wrapped; };
meta = { description = "C compiler written in Zig"; homepage = "http://aro.vexu.eu/"; license = with lib.licenses; [ mit unicode-30 ]; maintainers = with lib.maintainers; [ RossComputerGuy ]; mainProgram = "arocc"; };})