settings.<package>.custom is ignored when package.<package>.source is a git repository
#237
Unanswered
Thrithralas
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
The haskell-flake/nix/modules/project/outputs.nix Lines 86 to 89 in 1e29717 So I don't see how one could impact the other. Are you able to reproduce this with some other simple package (not llvm-hs). Because, maybe the git repo is at fault here for not respecting But yes, if you have a minimal repro, please file a bug report. I've made this one a Discussion since we don't know for sure yet whether this is a bug in haskell-flake. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
When specifying source as per the documentation,
settings.<package>.customis seemingly not applied.Detailed Description
I'm not sure if this is actually a bug, I'm probably doing something wrong. Specifically, I'm trying to make a project with
llvm-hsas its dependency, but I'm trying to use thellvm-15branch from the git repository, as the hackage package is extremely outdated. My solution to adding in the llvm dependency looked like the following in when using the hackage version (some settings omitted for clarity, but I can post the whole file if need be):This works fine and it finds
llvm-config(it runs into another unrelated error after it, but that's irrelevant)The same however does not work, the moment I switch I specify source to be the git repository:
The build now fails, due it not being able to find
llvm-configon the path. The package does supply thellvm-configprogram, as entering a nix shell with the program installed and just building thellvm-hspackage with cabal is working fine. Same issue with thellvm-12branch. Thellvm-9branch has a different error, wherellvm-configis explicitly written into the cabal file as an external dependency and it fails due to an unsupplied module parameter.I'll add a minimal reproducible example in a few hours, once I get home.
The error, just in case it's necessary:
Beta Was this translation helpful? Give feedback.
All reactions