Git Product home page Git Product logo

Comments (4)

GregorySchwartz avatar GregorySchwartz commented on May 29, 2024

That is indeed a weird one. I wonder if it has to do with the age of CentOS 7 vs. 8. Can you try to edit the GHC version in the default.nix file? Instead of ghc8104, can you change it to ghc881 and rerun it (there may be some dependencies that change though which you might need to jailbreak). If that doesn't work for the same reason (ghc-pkg) try another older version of GHC: https://www.haskell.org/ghc/download.html (removing the periods for the version to put in the default.nix file).

from too-many-cells.

YiweiNiu avatar YiweiNiu commented on May 29, 2024

Thank you for your quick reply!

Instead of ghc8104, can you change it to ghc881 and rerun it

Then I got the following error.

$ nix-env -f default.nix -i too-many-cells
error: attribute 'ghc881' missing

       at /T02Data/niuyw/software/too-many-cells/default.nix:31:14:

           30|   # Haskell compiler
           31|   compiler = pkgs.haskell.packages."${compilerVersion}";
             |              ^
           32|
(use '--show-trace' to show detailed location information)

When I changed it to ghc801, the error was the same.

from too-many-cells.

GregorySchwartz avatar GregorySchwartz commented on May 29, 2024

That means that the particular GHC version is too old for that snapshot. I recently updated the nixpkgs snapshot, so try commit de5aeaf and see if that works.

from too-many-cells.

YiweiNiu avatar YiweiNiu commented on May 29, 2024

After switching to commit de5aeaf, the too-many-cells could be successfully installed through nix-env.

Thank you so much.

from too-many-cells.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.