Giter Site home page Giter Site logo

`nix build` fails about herms HOT 3 CLOSED

luxmiranda avatar luxmiranda commented on September 28, 2024
`nix build` fails

from herms.

Comments (3)

langston-barrett avatar langston-barrett commented on September 28, 2024 1

@mhuesch Thanks for the report! if you make a pull request loosening the bounds I'll be happy to merge it.

from herms.

mhuesch avatar mhuesch commented on September 28, 2024

I think this is related to the version of vty which is pinned in the pinned nixpkgs: https://github.com/NixOS/nixpkgs/blob/1c15955340811db41e8d37da18254c7510a07ea2/pkgs/development/haskell-modules/hackage-packages.nix

In that file, there are 2 vty packages: 5.25.1 and 5.26

  "vty" = callPackage
    ({ mkDerivation, base, blaze-builder, bytestring, Cabal, containers
     , deepseq, directory, filepath, hashable, HUnit, microlens
     , microlens-mtl, microlens-th, mtl, parallel, parsec, QuickCheck
     , quickcheck-assertions, random, smallcheck, stm, string-qq
     , terminfo, test-framework, test-framework-hunit
     , test-framework-smallcheck, text, transformers, unix, utf8-string
     , vector
     }:
     mkDerivation {
       pname = "vty";
       version = "5.25.1";
       sha256 = "1x15jlf9x6c8nhdbp6alr17vigclkaf5qy5jpp14g5n568p7karw";
       isLibrary = true;
       isExecutable = true;
       libraryHaskellDepends = [
         base blaze-builder bytestring containers deepseq directory filepath
         hashable microlens microlens-mtl microlens-th mtl parallel parsec
         stm terminfo text transformers unix utf8-string vector
       ];
       executableHaskellDepends = [
         base containers microlens microlens-mtl mtl
       ];
       testHaskellDepends = [
         base blaze-builder bytestring Cabal containers deepseq HUnit
         microlens microlens-mtl mtl QuickCheck quickcheck-assertions random
         smallcheck stm string-qq terminfo test-framework
         test-framework-hunit test-framework-smallcheck text unix
         utf8-string vector
       ];
       description = "A simple terminal UI library";
       license = stdenv.lib.licenses.bsd3;
     }) {};

  "vty_5_26" = callPackage
    ({ mkDerivation, base, blaze-builder, bytestring, Cabal, containers
     , deepseq, directory, filepath, hashable, HUnit, microlens
     , microlens-mtl, microlens-th, mtl, parallel, parsec, QuickCheck
     , quickcheck-assertions, random, smallcheck, stm, string-qq
     , terminfo, test-framework, test-framework-hunit
     , test-framework-smallcheck, text, transformers, unix, utf8-string
     , vector
     }:
     mkDerivation {
       pname = "vty";
       version = "5.26";
       sha256 = "03iznvkdm11blzx09il96262qpgc4mmi3qzarhl8grrijkgzxj4x";
       isLibrary = true;
       isExecutable = true;
       libraryHaskellDepends = [
         base blaze-builder bytestring containers deepseq directory filepath
         hashable microlens microlens-mtl microlens-th mtl parallel parsec
         stm terminfo text transformers unix utf8-string vector
       ];
       executableHaskellDepends = [
         base containers microlens microlens-mtl mtl
       ];
       testHaskellDepends = [
         base blaze-builder bytestring Cabal containers deepseq HUnit
         microlens microlens-mtl mtl QuickCheck quickcheck-assertions random
         smallcheck stm string-qq terminfo test-framework
         test-framework-hunit test-framework-smallcheck text unix
         utf8-string vector
       ];
       description = "A simple terminal UI library";
       license = stdenv.lib.licenses.bsd3;
       hydraPlatforms = stdenv.lib.platforms.none;
     }) {};

So perhaps there's some inconsistent behavior in selecting between the two on different systems?

herms seems to work for me, once I allowed 5.25.1, and it indeed built with that:

nixos :: projects/herms/nix ‹mhuesch/build-normal*› » cat ./result/nix-support/propagated-build-inputs | tr ' ' '\n' | gr
ep vty
/nix/store/jvq66paqn6pwj1hdmmgdr2v83qw59bci-vty-5.25.1

from herms.

mhuesch avatar mhuesch commented on September 28, 2024

Cool, just opened a PR!

from herms.

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.