Git Product home page Git Product logo

Comments (3)

Fuuzetsu avatar Fuuzetsu commented on June 19, 2024

In fact

[shana@lenalee:~]$ ./c2n cabal://bitarray
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0  3810    0     0  45515      0 --:--:-- --:--:-- --:--:-- 45515
path is ‘/nix/store/wlxigj3m1mm9mlp6w3msdip51b6dqnvp-bitarray-0.0.1.tar.gz’
# This file was auto-generated by cabal2nix. Please do NOT edit manually!

{ cabal }:

cabal.mkDerivation (self: {
  pname = "bitarray";
  version = "0.0.1";
  sha256 = "01ijysisw70zaw70hx851axw48agfamdqj21rzzhdqd2ww6bwchb";
  meta = {
    homepage = "http://code.haskell.org/~bkomuves/";
    description = "Mutable and immutable bit arrays";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
  };
})

[shana@lenalee:~]$ ./c2n cabal://bitarray-0.0.1.1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0  3701    0     0  43557      0 --:--:-- --:--:-- --:--:-- 43557
path is ‘/nix/store/zkg9s5m9xmbxcazanfs0s063j8src0mg-bitarray-0.0.1.1.tar.gz’
# This file was auto-generated by cabal2nix. Please do NOT edit manually!

{ cabal }:

cabal.mkDerivation (self: {
  pname = "bitarray";
  version = "0.0.1.1";
  sha256 = "00nqd62cbh42qqqvcl6iv1i9kbv0f0mkiygv4j70wfh5cl86yzxj";
  meta = {
    homepage = "http://code.haskell.org/~bkomuves/";
    description = "Mutable and immutable bit arrays";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
  };
})

from cabal2nix.

peti avatar peti commented on June 19, 2024

The bitarray update was uploaded to Hackage only 4 hours ago. You probably need to run cabal update to get a version of the Hackage database into your ~/.cabal directory that knows about that version. That did the trick for me:

$ cabal2nix cabal://bitarray | grep version
  version = "0.0.1.1";

from cabal2nix.

Fuuzetsu avatar Fuuzetsu commented on June 19, 2024

I ran cabal update before doing it. I'm not sure where the problem lies because my cabal update clearly works: hackage4nix shows updates after I cabal update. I tried it again and now it got picked up, maybe Hackage served me old index…

Sorry for the noise

from cabal2nix.

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.