Unverified Commit 08a88be0 authored by K900's avatar K900 Committed by GitHub
Browse files

singular: fix build (#389464)

parents 49e0bd28 c55e4e15
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -119,6 +119,12 @@ stdenv.mkDerivation rec {
      -i '{}' ';'
  '';

  # FIXME: ugly hack for https://github.com/NixOS/nixpkgs/pull/389009
  preConfigure = ''
    substituteInPlace build-aux/ltmain.sh \
      --replace 'for search_ext in .la $std_shrext .so .a' 'for search_ext in $std_shrext .so .a'
  '';

  hardeningDisable = lib.optional stdenv.hostPlatform.isi686 "stackprotector";

  doCheck = true; # very basic checks, does not test any libraries