[Nix-dev] overview about hack-nix and how it works

Juan Daugherty juan at acm.org
Mon Aug 8 18:44:56 CEST 2011


On Mon, Aug 8, 2011 at 11:26 AM, Andres Loeh <ksnix at andres-loeh.de> wrote:

> If you say
>
> $ nix-env -iA nixpkgs_sys.haskellPackages.leksah
>
> or
>
> $ nix-env -f /etc/nixos/nixpkgs -iA haskellPackages.leksah
>
>
So this did work in the sense that it got a leksah built.

However what's build isn't working as it does on production platforms,
leksah can't find the pkgs:
leksah
Using default Yi configuration
Xlib:  extension "RANDR" missing on display "somejuan:1".
Now updating system metadata ...
***server start
Bind 127.0.0.1:26411
Metadata collector has nothing to do
Metadata collection has finished
Now loading metadata ...
packageInfo not found for file-embed-0.0.4.1
packageInfo not found for hjsmin-0.0.14
packageInfo not found for entropy-0.1
packageInfo not found for wai-app-static-0.1.0
packageInfo not found for blaze-textual-0.1.0.0
packageInfo not found for failure-0.1.0.1
packageInfo not found for base64-bytestring-0.1.0.2
packageInfo not found for murmur-hash-0.1.0.2
packageInfo not found for ghc-paths-0.1.0.8
packageInfo not found for simple-sendfile-0.1.2
packageInfo not found for xmlhtml-0.1.3
packageInfo not found for unordered-containers-0.1.4.0
packageInfo not found for data-default-0.2.0.1
packageInfo not found for blaze-builder-enumerator-0.2.0.2
packageInfo not found for case-insensitive-0.2.0.2
packageInfo not found for attoparsec-enumerator-0.2.0.3
packageInfo not found for attoparsec-enumerator-0.2.0.4
packageInfo not found for bytestring-mmap-0.2.1
packageInfo not found for cookie-0.2.1
packageInfo not found for cprng-aes-0.2.1
packageInfo not found for unix-compat-0.2.1.1
packageInfo not found for blaze-builder-0.2.1.4
packageInfo not found for base-unicode-symbols-0.2.1.5
packageInfo not found for tagged-0.2.2
packageInfo not found for transformers-0.2.2.0
packageInfo not found for MonadCatchIO-transformers-0.2.2.2
packageInfo not found for ranges-0.2.3
packageInfo not found for email-validate-0.2.6
packageInfo not found for xss-sanitize-0.2.6
packageInfo not found for cryptocipher-0.2.12
packageInfo not found for syb-0.3
packageInfo not found for control-monad-attempt-0.3.0
packageInfo not found for cereal-0.3.0.0
packageInfo not found for containers-0.3.0.0
packageInfo not found for MonadCatchIO-mtl-0.3.0.2
packageInfo not found for mime-mail-0.3.0.2
packageInfo not found for primitive-0.3.1
packageInfo not found for tls-extra-0.3.1
packageInfo not found for attempt-0.3.1.1
packageInfo not found for bytestring-nums-0.3.2
packageInfo not found for strict-0.3.2
packageInfo not found for aeson-0.3.2.9
packageInfo not found for hint-0.3.3.2
packageInfo not found for utf8-string-0.3.6
packageInfo not found for vector-algorithms-0.4
packageInfo not found for wai-0.4.0
packageInfo not found for utf8-light-0.4.0.1
packageInfo not found for blaze-html-0.4.1.1
packageInfo not found for warp-0.4.1.1
packageInfo not found for language-javascript-0.4.4
packageInfo not found for enumerator-0.4.9.1
packageInfo not found for dlist-0.5
packageInfo not found for semigroups-0.5.0
packageInfo not found for binary-0.5.0.2
packageInfo not found for asn1-data-0.5.1
packageInfo not found for heist-0.5.1.0
packageInfo not found for clientsession-0.6.0
packageInfo not found for crypto-api-0.6.3
packageInfo not found for http-types-0.6.5
packageInfo not found for cryptohash-0.7.0
packageInfo not found for vector-0.7.0.1
packageInfo not found for web-routes-quasi-0.7.0.1
packageInfo not found for tls-0.7.1
packageInfo not found for binary-shared-0.8.1
packageInfo not found for hamlet-0.8.2.1
packageInfo not found for attoparsec-text-0.8.5.0
packageInfo not found for attoparsec-text-0.8.5.1
packageInfo not found for attoparsec-0.8.5.2
packageInfo not found for certificate-0.9.0.1
packageInfo not found for attoparsec-0.9.1.1
packageInfo not found for directory-tree-0.10.0
packageInfo not found for text-0.11.0.7
packageInfo not found for tagsoup-0.12.2
packageInfo not found for dataenc-0.14
packageInfo not found for regex-base-0.93.2
packageInfo not found for largeword-1.0.0
packageInfo not found for ghc-mtl-1.0.1.0
packageInfo not found for directory-1.0.1.2
packageInfo not found for haskell-src-1.0.1.4
packageInfo not found for process-leksah-1.0.1.4
packageInfo not found for RSA-1.0.6.1
packageInfo not found for PSQueue-1.1
packageInfo not found for deepseq-1.1.0.2
packageInfo not found for filepath-1.1.0.4
packageInfo not found for hashable-1.1.2.0
packageInfo not found for hslogger-1.1.4
packageInfo not found for regex-tdfa-1.1.8
packageInfo not found for xml-1.3.8
packageInfo not found for SHA-1.4.1.3
packageInfo not found for Cabal-1.8.0.6
packageInfo not found for Cabal-1.10.2.0
packageInfo not found for mtl-2.0.1.0
packageInfo not found for pureMD5-2.1.0.3
packageInfo not found for stm-2.2.0.1
packageInfo not found for network-2.3.0.2
packageInfo not found for haddock-2.9.2
packageInfo not found for parsec-3.1.1
packageInfo not found for xhtml-3000.2.0.1
packageInfo not found for HTTP-4000.1.1
Now updating workspace metadata ...
Finished>>>Info Changed!!! True
Now saving session
***lost connection

[root at noojuan:~]# ***lost last connection - exiting
***leksah-server: ExitSuccess
lost last connection - waiting
ExitSuccess



> then it will be built for the current GHC default version, which is now
> 7.0.4.
> You can also do
>
> $ nix-env -f /etc/nixos/nixpkgs -iA haskellPackages_ghc703.leksah
>
> in order to get it built with GHC-7.0.3.
>
> Alternatively, you can go via the package rather than attribute names:
>
> $ nix-env -i haskell-leksah-ghc7.0.4
> $ nix-env -i haskell-leksah-ghc7.0.3
>
> HTH,
>   Andres
>

So here then is a case in point of the situation I described
earlier, substantiated by just following the given advice.

-- 
===============================================
  juan at acm.org     01 716 524 0542   skype; juan.daugherty
===============================================
60011024 Juan Daugherty (Ren Ren-Juan) <juan at acm.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20110808/df92fa31/attachment.html 


More information about the nix-dev mailing list