Skip to content
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

haskell.packages.ghcjs.vector: Fix evaluation failure #150002

Merged
merged 1 commit into from
Dec 11, 2021

Conversation

Gabriella439
Copy link
Contributor

The derivation for the GHCJS vector package broke in #142940 due to
introducing the line of code that this change deletes.

The offending line appears to have been unintentionally added and
causes an evaluation failure for two separate reason :

  • The argument order is wrong

    The change in Haskell: haskell.lib.composable init and switch #142940 switched the haskellLib utilities to flip
    their argument order, but the appendPatch in the offending line
    has the original argument order

  • The patch file referenced by the offending line does not exist

The correct fix is to delete the line, because the patch is not
necessary. The default version of the vector package is 0.12.3.1,
which already includes the fix from that patch.

The derivation for the GHCJS `vector` package broke in NixOS#142940 due to
introducing the line of code that this change deletes.

The offending line appears to have been unintentionally added and
causes an evaluation failure for two separate reason :

* The argument order is wrong

  The change in NixOS#142940 switched the `haskellLib` utilities to flip
  their argument order, but the `appendPatch` in the offending line
  has the original argument order

* The patch file referenced by the offending line does not exist

The correct fix is to delete the line, because the patch is not
necessary.  The default version of the `vector` package is `0.12.3.1`,
which already includes the fix from that patch.
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 0 This PR does not cause any packages to rebuild labels Dec 10, 2021
@cdepillabout
Copy link
Member

cc @dfordivam

@dfordivam
Copy link
Contributor

FYI, this line was deleted here along with the patch -> #142689
But somehow it got added again by a subsequent commit.
This PR looks good to me

@Gabriella439
Copy link
Contributor Author

@cdepillabout: Do I need to merge this into the haskell-updates branch or do I merge this directly into master?

@sternenseemann
Copy link
Member

sternenseemann commented Dec 11, 2021 via email

@Gabriella439 Gabriella439 merged commit bb976f4 into NixOS:master Dec 11, 2021
@Gabriella439 Gabriella439 deleted the gabriella/fix_ghcjs_vector branch December 11, 2021 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: haskell 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 0 This PR does not cause any packages to rebuild
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants