Skip to content

Commit

Permalink
racket: use --enable-useprefix configure flag.
Browse files Browse the repository at this point in the history
This is to fix a regression in upstream Racket packaging, the upstream
bug tracking this is here:

  racket/racket#3046

When the bug is fixed this workaround will be unnecessary.
  • Loading branch information
takikawa committed Apr 16, 2020
1 parent 2da253a commit b271255
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/development/interpreters/racket/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ stdenv.mkDerivation rec {
'';

shared = if stdenv.isDarwin then "dylib" else "shared";
configureFlags = [ "--enable-${shared}" "--enable-lt=${libtool}/bin/libtool" ]
configureFlags = [ "--enable-${shared}" "--enable-lt=${libtool}/bin/libtool"
# The following flag is a temporary workaround for an upstream bug:
# https://github.com/racket/racket/issues/3046
"--enable-useprefix" ]
++ stdenv.lib.optional disableDocs [ "--disable-docs" ]
++ stdenv.lib.optional stdenv.isDarwin [ "--enable-xonx" ];

Expand Down

0 comments on commit b271255

Please sign in to comment.