-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Unordered-Containers error nothunks #25
Comments
Not exactly the same, but I'm getting a very similar error when testing $ nix build
warning: Git tree '/Users/oizquierdo/sb/stacklock2nix' is dirty
error: anonymous function at /nix/store/0qw23ij01l04ahz82baxzvlspl1nbjwk-cabal2nix-splitmix-0.1.0.4/default.nix:1:1 called with unexpected argument 'testu01'
at /nix/store/9qkpbm10iypl7zclprk9r0pwncr0snjk-source/pkgs/development/haskell-modules/make-package-set.nix:97:40:
96| # this wraps the `drv` function to add a `overrideScope` function to the result.
97| drvScope = allArgs: ensureAttrs (drv allArgs) // {
| ^
98| overrideScope = f:
(use '--show-trace' to show detailed location information) |
@LBjerke There's a couple things going on in your repo. I'm specifically looking at your latest commit on
Then there is also the problem with the If you want to fix it locally without waiting for that PR, you should be able to do something like the following: diff --git a/flake.nix b/flake.nix
index e2de2b4..512336a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -45,11 +45,8 @@
# stacklock2nix.
rasa = final.stacklock2nix {
stackYaml = ./stack.yaml;
- cabal2nixArgsOverrides = _: {
- "unordered-containers" = ver: {
- nothunks = false;
- };
- "splitmix" = ver: {testu01 = null;};
+ cabal2nixArgsOverrides = args: args // {
+ "unordered-containers" = ver: { };
};
# The Haskell package set to use as a base. You should change this |
@oscar-izval There is a file that contains default arguments for packages, and it has an entry that should be fixing the
Maybe you're not applying that? |
Hey @cdepillabout, thanks for the quick reply. I've moved this discussion to #27 as you seem to have solved the issue related to unordered-containers. |
@cdepillabout thank so much that solved the problem |
Hi I am trying to build the following package https://github.com/LBjerke/rasa and I keep getting the following error
I was wondering if there is a work around I looked at the cabal override and it seems like this shouldnt be an issue
The text was updated successfully, but these errors were encountered: