Loading pkgs/development/ada-modules/gprbuild/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,10 @@ stdenv.mkDerivation { "LIBRARY_TYPE=relocatable" ]; env = lib.optionalAttrs stdenv.isDarwin { NIX_LDFLAGS = "-headerpad_max_install_names"; }; # Fixes gprbuild being linked statically always. Based on the AUR's patch: # https://aur.archlinux.org/cgit/aur.git/plain/0001-Makefile-build-relocatable-instead-of-static-binary.patch?h=gprbuild&id=bac524c76cd59c68fb91ef4dfcbe427357b9f850 patches = lib.optionals (!stdenv.hostPlatform.isStatic) [ Loading Loading
pkgs/development/ada-modules/gprbuild/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,10 @@ stdenv.mkDerivation { "LIBRARY_TYPE=relocatable" ]; env = lib.optionalAttrs stdenv.isDarwin { NIX_LDFLAGS = "-headerpad_max_install_names"; }; # Fixes gprbuild being linked statically always. Based on the AUR's patch: # https://aur.archlinux.org/cgit/aur.git/plain/0001-Makefile-build-relocatable-instead-of-static-binary.patch?h=gprbuild&id=bac524c76cd59c68fb91ef4dfcbe427357b9f850 patches = lib.optionals (!stdenv.hostPlatform.isStatic) [ Loading