Skip to content

Windows shell on x86_64-linux fails #195

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

Open
perturbing opened this issue Feb 4, 2025 · 1 comment
Open

Windows shell on x86_64-linux fails #195

perturbing opened this issue Feb 4, 2025 · 1 comment

Comments

@perturbing
Copy link
Contributor

Hi, I want to debug some CI issue for a Windows build using

nix develop github:input-output-hk/devx#ghc810-windows-iog

but I get the error

evaluation warning: Explicitly set the ABI version of 'webkitgtk'
error: hash mismatch in fixed-output derivation '/nix/store/6ahvilvamsqn20m1hxlqpfsj8n5an3k2-head.hackage.ghc.haskell.org.drv':
         specified: sha256-aVI93DtHziicNn2mGli0YE+bC5BeT7mOQQETp2Thi68=
            got:    sha256-q4wfxy7yq0HvemfA01XyqkSbSAAxrzdYnaxTrF/5Wyw=
error: 1 dependencies of derivation '/nix/store/x1v46hfs8kmkqpnxrka20dmb5gwvihlb-dot-cabal.drv' failed to build
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'nix-shell'
         whose name attribute is located at /nix/store/y8pbnccb8bc1p8fchx7zkb0874yblrg3-source/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'nativeBuildInputs' of derivation 'nix-shell'
         at /nix/store/y8pbnccb8bc1p8fchx7zkb0874yblrg3-source/pkgs/stdenv/generic/make-derivation.nix:380:7:
          379|       depsBuildBuild              = elemAt (elemAt dependencies 0) 0;
          380|       nativeBuildInputs           = elemAt (elemAt dependencies 0) 1;
             |       ^
          381|       depsBuildTarget             = elemAt (elemAt dependencies 0) 2;

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: 1 dependencies of derivation '/nix/store/zgh395lq4wwdcx5bm5p046ccii8v6ggk-happy-plan-to-nix-pkgs.drv' failed to build

note that this is against main (56f63fcaab17a7a408680bf764b29a0d739e3774).

@angerman
Copy link
Collaborator

We shouldn't depend on head.hackage anywhere... this is ... concerning. head.hackage is in no way something we should even remotely use.

angerman added a commit that referenced this issue Feb 14, 2025
github-merge-queue bot pushed a commit that referenced this issue Feb 19, 2025
* Use summary instead of text

fixes #208

* Use head.hackage only for GHC < 9.13 (we need to update this each time there is a release...)

Might fix #195

* Use custom cabal-install

Fixes #210

* Update haskell.nix

* Use bootstrap project file for cabal.

* Use more stable nixpgks

* bump haskellNix

* Update tool-map.nix (head.hackage hash)

Co-authored-by: Thomas Vellekoop <[email protected]>

---------

Co-authored-by: Thomas Vellekoop <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants