-
-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cabal2nix adds system-libyaml flag but not yaml system dependency #372
Comments
CC @peti @domenkozar Note I didn't have this problem with an older version of
The older version of
|
I see @domenkozar already encountered this: https://github.com/input-output-hk/stack2nix/blob/88fd8be0cad55e4f29575c5d55645f6321201c17/default.nix#L13-L14 Why |
This is caused by a bug in |
Note that
|
Apparently, this update break the test suite of pythonPackages.pyyaml (version 3.13), which is odd because both packages come from the same upstream authors and both have been released together. Needs investigation. Related to NixOS/cabal2nix#372.
The |
@peti I'm a bit confused by the two opposite directions Should these the two approaches agree with each other? |
Fixes stack build --extra-include-dirs ... --extra-lib-dirs ... to set libyaml path being ignored. Also fixes NixOS/cabal2nix#372 (comment)
Fix PR in snoyberg/yaml#151 |
@nh2, I had no idea that override existed in Nixpkgs. :-( Thanks for the heads up. I removed it in NixOS/nixpkgs@fbada9f, which will come to master soon. |
I just tried to run
stack2nix
commit88fd8be0cad55e4f29575c5d55645f6321201c17
againststack
commit94d302c40d3d08dcaa0213f3f1ffdc1384842714
.Building
stack
with that fails withThe generated
yaml
stack derivation is:Note here
configureFlags = [ "-fsystem-libyaml" ];
, but the absence of a system yaml package in the arguments.The commit in
cabal2nix
that added this flag is b9d7046What is going on here?
The text was updated successfully, but these errors were encountered: