Closed ghost closed 8 months ago
Can repro; looks like this was always broken. Fix incoming.
Aside: we need property tests for Nix.
Is it actually removing the flag for you? I still see the flag I'm trying to remove.
It simply uses removeConfigureFlag
from nixpkgs.
Does setting buildFromSdist = false;
make it work? If so, please a new bug report linking to https://github.com/srid/haskell-flake/issues/293
Also make sure to try with this fix first https://github.com/srid/haskell-flake/pull/298
I might be doing something wrong... buildFromSdist
doesn't appear to make a difference in the build. Putting settings into default
doesn't seem to have an effect on my package either.
Out of curiosity, where are the default configure flags coming from? I see some that correspond to settings, but others like enable-library-vanilla
and extra-lib-dirs
repeated a few times with ncurses
, libffi
, elfutils
, gmp-with-cxx
.
I'm using horizon-platform
for basePackages
and devShell.tools
if that matters at all.
I was trying to use the LLVM backend
At this point, I'd suggest continuing this discussion in Zulip or Github Discussions.
Okay I'll pop in there. Thanks
This bit throws an error:
error: expected a set but found a string: "--with-gcc=gcc"
.If I change the list to a set or change the string to a set, it says
error: A definition for option 'removeConfigureFlags' is not of type 'null or (list of string)'
. I've tried just about everything I can think of... is this attribute bugged?