Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
804 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, stdenv, fetchFromGitLab,}:
let common = import ./common.nix { inherit lib fetchFromGitLab; }; headers = [ "include/GL/internal/dri_interface.h" "include/EGL/eglext_angle.h" "include/EGL/eglmesaext.h" ];instdenv.mkDerivation rec { pname = "mesa-gl-headers";
# These are a bigger rebuild and don't change often, so keep them separate. version = "25.1.0";
src = fetchFromGitLab { domain = "gitlab.freedesktop.org"; owner = "mesa"; repo = "mesa"; rev = "mesa-${version}"; hash = "sha256-UlI+6OMUj5F6uVAw+Mg2wOZrjfdRq73d1qufaXVI/go"; };
dontBuild = true;
installPhase = '' for header in ${toString headers}; do install -Dm444 $header $out/$header done '';
passthru = { inherit headers; };
inherit (common) meta;}