Loading pkgs/by-name/gl/glsl_analyzer/package.nix +7 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ , stdenv , fetchFromGitHub , zig_0_13 , apple-sdk_11 }: stdenv.mkDerivation (finalAttrs: { Loading @@ -19,6 +20,12 @@ stdenv.mkDerivation (finalAttrs: { zig_0_13.hook ]; buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ # The package failed to build on x86_64-darwin because the default was the 10.12 SDK # Once the default on all platforms has been raised to the 11.0 SDK or higher, this can be removed. apple-sdk_11 ]; postPatch = '' substituteInPlace build.zig \ --replace-fail 'b.run(&.{ "git", "describe", "--tags", "--always" })' '"${finalAttrs.src.rev}"' Loading Loading
pkgs/by-name/gl/glsl_analyzer/package.nix +7 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ , stdenv , fetchFromGitHub , zig_0_13 , apple-sdk_11 }: stdenv.mkDerivation (finalAttrs: { Loading @@ -19,6 +20,12 @@ stdenv.mkDerivation (finalAttrs: { zig_0_13.hook ]; buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ # The package failed to build on x86_64-darwin because the default was the 10.12 SDK # Once the default on all platforms has been raised to the 11.0 SDK or higher, this can be removed. apple-sdk_11 ]; postPatch = '' substituteInPlace build.zig \ --replace-fail 'b.run(&.{ "git", "describe", "--tags", "--always" })' '"${finalAttrs.src.rev}"' Loading