Re: [Nix-dev] haskell: overriding mtl/any builtin
mtl choosing versions Which is the target package you want to use/work on? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] haskell: overriding mtl/any builtin
On 09/07/2014 10:57 AM, Mateusz Kowalczyk wrote: On 09/07/2014 10:15 AM, Marc Weber wrote: mtl choosing versions Which is the target package you want to use/work on? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev In this case =mtl-2.2.1 but I'd like to know the solution in general. As long as we could ‘cabal install whatever’ on a regular distro, I'd like to know how to achieve the same thing with nix. Notably if I specify mtl = mtl_2_2_1; then it complains that it needs transformers == 0.4 but there seems to be no clues in nixpkgs as to how to achieve this. Currently mtl = 2.2.1 for HEAD but I know it should work with 7.8.3 -- Mateusz K. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] DevOps sprint at gocept/FlyingCircus
On 6. Sep2014, at 17:45, Domen Kožar do...@dev.si wrote: Hi Christian, it seems I won't be able to attend the sprint (although I'd really love to). I still hope some other Nix folks will be around. Enjoy the sprint and say hi to everyone! Dang! But hey, busy times… I will say hi, though, of course. :) Christian -- Christian Theune · gocept gmbh co. kg flyingcircus.io · operations as a service Forsterstraße 29 · 06112 Halle (Saale) · Tel +49 345 1229889-7 signature.asc Description: Message signed with OpenPGP using GPGMail ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Expand/collapse buttons in VM build logs not working
On 23 August 2014 23:08, Bjørn Forsman bjorn.fors...@gmail.com wrote: On 23 August 2014 15:22, Eelco Dolstra eelco.dols...@logicblox.com wrote: [...] It's because they include the jQuery sources using //ajax.googleapis.com/... This works if you're accessing the page via http or https, but not via file. Solution might be to use https unconditionally. Or include a copy of jQuery in the the output, so that it also works when being offline? I've made a PR that uses offline jQuery to fix this issue: https://github.com/NixOS/nixpkgs/pull/3997 ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] GHC pointed at the wrong package
On 08/23/2014 03:15 PM, Mateusz Kowalczyk wrote: On 08/23/2014 01:29 PM, Peter Simons wrote: Hi Mateusz, There are problems in package regex-tdfa-1.2.0: dependency parsec-3.1.5-ca5ed8f175b69e1a085cfeaf3b95f424 doesn't exist There are problems in package regex-tdfa-rc-1.1.8.3: dependency parsec-3.1.5-ca5ed8f175b69e1a085cfeaf3b95f424 doesn't exist the process that generates those IDs in GHC is non-deterministic. Two people can compile the same library with the same version of GHC on the same type of machine yet end up with two distinct IDs. It doesn't happen often, but it does happen. I'd recommend running $ nix-store --delete /nix/store/*-haskell-parsec-ghc7.8.3-3.1.5-shared on all your machines. Then the next build will download these packages from Hydra, and you'll have a consistent build again. Note that you may have to remove packages from your active profiles to make that deletion process succeed. I hope this helps, Peter It's very unfortunate to hear about the package ID stuff. Is there a bug open? There is https://ghc.haskell.org/trac/ghc/ticket/4012 Actually, since we started building Haskell packages in parallel (https://github.com/NixOS/nixpkgs/commit/817c0e41443a5176baf6dd9b422878fdccecd266), this problem might have got more common (but I have no real evidence for that). You can reproduce this by building the haskell http-client package with --cores 4 (non-parallel makes the problem go away). Each build (with the exact same dependencies, and hence exact same nix hash) produces a package with different package-id (in package-conf.d). It is not only the package-id that differs, but the ABI differs, which could make linking fail. Look at this: $ nm -g pkg-1/lib/ghc-7.8.3/http-client-0.3.8.1/libHShttp-client-0.3.8.1.a hc-1-nm $ nm -g pkg-2/lib/ghc-7.8.3/http-client-0.3.8.1/libHShttp-client-0.3.8.1.a hc-2-nm $ diff hc-1-nm hc-2-nm | tail -n 10 8775,8776c8775,8776 U httpzmclientzm0zi3zi8zi1_NetworkziHTTPziClientziTypes_zdLrfy8a_closure D httpzmclientzm0zi3zi8zi1_NetworkziHTTPziClientziTypes_zdLrfy9a1_closure --- U httpzmclientzm0zi3zi8zi1_NetworkziHTTPziClientziTypes_zdLrfxPa_closure D httpzmclientzm0zi3zi8zi1_NetworkziHTTPziClientziTypes_zdLrfxQa1_closure 8780c8780 D httpzmclientzm0zi3zi8zi1_NetworkziHTTPziClientziTypes_zdLrfy8a_closure --- D httpzmclientzm0zi3zi8zi1_NetworkziHTTPziClientziTypes_zdLrfxPa_closure I really don't know how this could be worked around in Nix. Of course, the problem is not very common, since you would have to build one package locally, then fetch a package built somewhere else that depends on your local package, and finally build a third package that depends on that fetched package. But in a build cluster things like that certainly do happen. / Rickard ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Terminus console font
Good day. I'm not a huge fan of X server, that why I'm spending my time inside a tty and virtual terminals. Default fonts that NixOS offers are not perfectly suite my eyes that why I'm looking for a way to use terminus font there. I.e. in Gentoo OS there is a `consoleFont` variable which could be set to ter-116n value to get terminus in Xless console. I'm trying to do the same via setting `i18n.consoleFont = ter-116n`([1]) , but it do nothing. Also as you see `pkgs.terminus_font` is added to the `fonts.fonts` statement, that why I'm assuming terminus font is installed in my system. have you guys achieved it? What am I doing wrong? [1] - https://github.com/dmalikov/dotfiles/blob/master/nixos/configuration.nix -- Best regards, dmitry malikov ! ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Terminus console font
On Sun, Sep 7, 2014, at 02:20 PM, Dmitry Malikov wrote: Good day. I'm not a huge fan of X server, that why I'm spending my time inside a tty and virtual terminals. Default fonts that NixOS offers are not perfectly suite my eyes that why I'm looking for a way to use terminus font there. I.e. in Gentoo OS there is a `consoleFont` variable which could be set to ter-116n value to get terminus in Xless console. I'm trying to do the same via setting `i18n.consoleFont = ter-116n`([1]) , but it do nothing. Also as you see `pkgs.terminus_font` is added to the `fonts.fonts` statement, that why I'm assuming terminus font is installed in my system. have you guys achieved it? What am I doing wrong? What works for me is the line: i18n.consoleFont = Lat2-Terminus16; cheers --Michael [1] - https://github.com/dmalikov/dotfiles/blob/master/nixos/configuration.nix -- Best regards, dmitry malikov ! ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev