If only we had a way to produce multiple outputs from a single package... :)
On Jan 31, 2015, at 07:22, Ertugrul Söylemez ert...@gmx.de wrote:
There should be a pure
library derivation and a separate compiler derivation. The former
should be as small as possible. Ideally there would be
If only we had a way to produce multiple outputs from a single
package... :)
We have. The `derivation` function supports producing multiple outputs,
and I'm sure that `mkDerivation` forwards this ability.
Greets,
Ertugrul
signature.asc
Description: PGP signature
2015-01-31 16:50 GMT+01:00 Bjørn Forsman bjorn.fors...@gmail.com:
That's weird. I copy/pasted your code into my ~/.nixpkgs/config.nix
and it worked just fine.
- Bjørn
Well, at least now I know I didn't make any coarse mistake in the code.
___
On 31 January 2015 at 16:07, Catonano caton...@gmail.com wrote:
I am following this guide to override a package
https://nixos.org/wiki/Nix_Modifying_Packages#Overriding_Existing_Packages
I copied and pasted the example about the mu and mySed packages and I
ended up with this
{
Yeah, was kidding around!
On Jan 31, 2015, at 10:47, Ertugrul Söylemez ert...@gmx.de wrote:
If only we had a way to produce multiple outputs from a single
package... :)
We have. The `derivation` function supports producing multiple outputs,
and I'm sure that `mkDerivation` forwards this
Done!
https://github.com/NixOS/nixpkgs/pull/4066#issuecomment-72017611
2015-01-30 20:32 GMT-02:00 Anderson Torres torres.anderson...@gmail.com:
I will verify it now.
2015-01-29 9:09 GMT-02:00 Berno Strik dutchma...@gmx.com:
New user of NixOS so bare with me.
I'm running NixOS 14.12.
First:
I am following this guide to override a package
https://nixos.org/wiki/Nix_Modifying_Packages#Overriding_Existing_Packages
I copied and pasted the example about the mu and mySed packages and I
ended up with this
{
packageOverrides = pkgs: rec {
# Create a new package,
2015-01-31 16:20 GMT+01:00 Bjørn Forsman bjorn.fors...@gmail.com:
On 31 January 2015 at 16:14, Catonano caton...@gmail.com wrote:
I don't think you placed the pkgs.fetchurl where I meant. In the
code you pasted, there was only one fetchurl. Replace that one with
pkgs.fetchurl (without the
2015-01-31 16:10 GMT+01:00 Bjørn Forsman bjorn.fors...@gmail.com:
On 31 January 2015 at 16:07, Catonano caton...@gmail.com wrote:
Try pkgs.fetchurl instead.
Best regards,
Bjørn Forsman
error: anonymous function at /home/me/.nixpkgs/config.nix:1:1 called with
unexpected argument ‘pkgs’, at
On 31 January 2015 at 16:14, Catonano caton...@gmail.com wrote:
2015-01-31 16:10 GMT+01:00 Bjørn Forsman bjorn.fors...@gmail.com:
On 31 January 2015 at 16:07, Catonano caton...@gmail.com wrote:
Try pkgs.fetchurl instead.
Best regards,
Bjørn Forsman
error: anonymous function at
On 31 January 2015 at 16:41, Catonano caton...@gmail.com wrote:
2015-01-31 16:20 GMT+01:00 Bjørn Forsman bjorn.fors...@gmail.com:
On 31 January 2015 at 16:14, Catonano caton...@gmail.com wrote:
I don't think you placed the pkgs.fetchurl where I meant. In the
code you pasted, there was only
2015-01-31 16:50 GMT+01:00 Bjørn Forsman bjorn.fors...@gmail.com:
That's weird. I copy/pasted your code into my ~/.nixpkgs/config.nix
and it worked just fine.
I removed it and reinstalled it again.
Now the sympthom is different
$ nix-env -i InfTaRacket
error: selector ‘InfTaRacket’
On 31 January 2015 at 18:29, Catonano caton...@gmail.com wrote:
2015-01-31 16:50 GMT+01:00 Bjørn Forsman bjorn.fors...@gmail.com:
That's weird. I copy/pasted your code into my ~/.nixpkgs/config.nix
and it worked just fine.
I removed it and reinstalled it again.
Now the sympthom is
2015-01-31 19:13 GMT+01:00 Bjørn Forsman bjorn.fors...@gmail.com:
To enable attributes to refer to each other, within the same attrset,
you need to put 'rec' in front of the attrset. In other words, instead
of oldAttrs: {, use oldAttrs: rec {.
Thank you
2015-01-31 16:50 GMT+01:00 Bjørn Forsman bjorn.fors...@gmail.com:
That's weird. I copy/pasted your code into my ~/.nixpkgs/config.nix
and it worked just fine.
- Bjørn
May I ask you which version of nix you have ?
___
nix-dev mailing list
Hey folks,
I'm running into some issues with packages conflicting and the priority
seeming to be ignored. I reported it last night thinking it was a problem
with Haskell NG but now think it is something different.
I'm using nix-build to build it locally, copy-nix-closure to copy it to the
Yes, I’m planning to work on multiple outputs for ghc soon :)
On Jan 31, 2015, at 3:55 PM, Daniel Peebles pumpkin...@gmail.com wrote:
Yeah, was kidding around!
On Jan 31, 2015, at 10:47, Ertugrul Söylemez ert...@gmx.de wrote:
If only we had a way to produce multiple outputs from a
Yes, I’m planning to work on multiple outputs for ghc soon :)
Great! I'm looking forward to that. =)
signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
At Sat, 31 Jan 2015 13:22:09 +0100,
Ertugrul Söylemez wrote:
[...]
I have actually experimented with using Haskell (and a few other FP
languages) as a substitute for shells.
[...]
You might be interested why Curry didn't work. Simple: I couldn't figure
out how to write a program. Actually
2015-01-31 22:24 GMT-02:00 Ertugrul Söylemez ert...@gmx.de:
What about other languages as Python, Perl etc.? I know it is against
our purity standards, but they are a far superior to Bash scripting.
Well, that's the current state of the art. They are both used in
Nixpkgs and some Nix-related
What about other languages as Python, Perl etc.? I know it is against
our purity standards, but they are a far superior to Bash scripting.
Well, that's the current state of the art. They are both used in
Nixpkgs and some Nix-related tools. They are an improvement over Bash
scripting, but I
Guix is an already existing Nix implementation in Guile. Let's take the
other path.Haskell, since the issue of closures is apparently simple.
On Sat, Jan 31, 2015 at 10:22 PM, Ertugrul Söylemez ert...@gmx.de wrote:
At this current point in time, GHC is packaged in a poor manner, with
GHC
I’d like to build an application using the versions specified in a
cabal.config file (cabal-install is included in the shell.nix file). Is
there an easy way to do it?
After talking to people on #nixos, I got the impression that having your
own Nixpkgs branch is the only way if you want to share
2015-01-31 10:22 GMT-02:00 Ertugrul Söylemez ert...@gmx.de:
At this current point in time, GHC is packaged in a poor manner, with
GHC being unbelievably huge. Dynamic linking is the answer, which
isn't done by default.
I have actually experimented with using Haskell (and a few other FP
Note that in order to build packages on the virtual Linux box, you need to
be able to ssh to it as root.
Nixops doesn't set that up for nix-build, which is why it fails to build.
(this may be a security thing, not sure)
So once you deployed and it fails to build, do a nixops ssh to the Linux
vm
Curry is indeed a beautiful language, and is essentially a
conservative extension of Haskell. I am surprised that more Haskell
folk have not adopted it.
Well, it does lack quite a few things right now, including on the
language level. For example its way to deal with ad-hoc polymorphism is
--
An HTML attachment was scrubbed...
URL:
http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150131/a3b5e505/
attachment-0001.html
--
Message: 2
Date: Sat, 31 Jan 2015 19:13:45 +0100
From: Bj?rn Forsman bjorn.fors...@gmail.com
Subject: Re: [Nix-dev] overriding
Chicken or Scheme are not at all what at all what I was suggesting as they
offer nothing in the way of purity or type-safety, which are the primary
motivation for suggesting Haskell.
On Sat, Jan 31, 2015 at 8:12 PM, Anderson Torres
torres.anderson...@gmail.com wrote:
2015-01-31 22:24 GMT-02:00
At this current point in time, GHC is packaged in a poor manner, with
GHC being unbelievably huge. Dynamic linking is the answer, which
isn't done by default.
I have actually experimented with using Haskell (and a few other FP
languages) as a substitute for shells. It is feasible if you
29 matches
Mail list logo