Benjamin Franksen wrote:
I want to package the tool chain for RTEMS 4.9. The sources are at
ftp://www.rtems.org/pub/rtems/SOURCES/4.9. The gcc version is 4.3.2 plus a
few RTEMS specific patches. I successfully packaged the corresponding
binutils. I can also build and install the cross gcc.
Ben Franksen wrote:
tl;dr I can verify with a very simple nix expression that the builder
indeed is root, and not one of the nixbld users. I think this is not as it
should be.
I finally solved this after looking into the source tree. It turned out that
after I re-compiled and installed Nix
Hello
tl;dr I can verify with a very simple nix expression that the builder indeed
is root, and not one of the nixbld users. I think this is not as it should
be.
Any idea what I am doing wrong?
Details follow:
Here is the test expression:
{stdenv, coreutils}: stdenv.mkDerivation {
name =
Hi All
sorry to bother you again regarding impureEnvVars. I still can't get my
fetchdarcs over ssh to work, even though I am now using constant-output
derivations and have
impureEnvVars = [ SSH_AGENT_PID SSH_AUTH_SOCK ];
in my fetchdarcs/default.nix.
The environment variables are now
Eelco Dolstra wrote:
On 17/04/14 17:04, Ben Franksen wrote:
sorry to bother you again regarding impureEnvVars. I still can't get my
fetchdarcs over ssh to work, even though I am now using constant-output
derivations and have
impureEnvVars = [ SSH_AGENT_PID SSH_AUTH_SOCK ];
in my
Shea Levy wrote:
On Thu, Apr 17, 2014 at 06:13:35PM +0200, Ben Franksen wrote:
Eelco Dolstra wrote:
On 17/04/14 17:04, Ben Franksen wrote:
sorry to bother you again regarding impureEnvVars. I still can't get
my fetchdarcs over ssh to work, even though I am now using
constant-output
Ben Franksen wrote:
Shea Levy wrote:
On Thu, Apr 17, 2014 at 06:13:35PM +0200, Ben Franksen wrote:
Eelco Dolstra wrote:
On 17/04/14 17:04, Ben Franksen wrote:
sorry to bother you again regarding impureEnvVars. I still can't get
my fetchdarcs over ssh to work, even though I am now using
Eelco Dolstra wrote:
On 16/04/14 00:40, Ben Franksen wrote:
So everything in my sources is patched to use stuff from /nix/store (I
checked that the path exists and is executable) and still it complains
about some /bin/sh missing?
There are many programs that have a (implicit) dependency
Ben Franksen wrote:
I will now read up on how to enable chroot builds in multi-user configured
Nix...
Ok, I now have
build-use-chroot = true
in my /etc/nix/nix.conf. Now, my build fails with this strange error:
building /nix/store/y57pn9yk7r9j06nqfkyd4b1h5p8gfdzr-epics-
base-3.14.12.2.1
Ben Franksen wrote:
building /nix/store/y57pn9yk7r9j06nqfkyd4b1h5p8gfdzr-epics-
base-3.14.12.2.1/configure/CONFIG_ENV
make[2]: /bin/sh: Command not found
Hmmm, this sounds strangely familiar. Am I interpreting this wrong and it
means the shell itself (which is not /bin/sh but actually /nix
Peter Simons wrote:
Fetching source over the network is the main reason fixed output
derivations even exist. When chroot builds are enabled, networking is
not allowed for non-fixed output derivations.
Interesting, I did not know this.
I agree that this policy makes sense for
will now read up on how to enable chroot builds in multi-user configured
Nix...
Cheers
Ben
Shea Levy wrote:
On Mon, Apr 14, 2014 at 04:12:00AM +0200, Ben Franksen wrote:
Shea Levy wrote:
Fetching source over the network is the main reason fixed output
derivations even exist. When chroot
Vladimír Čunát wrote:
On 04/06/2014 06:24 PM, Ben Franksen wrote:
How do I customize what gets put in my profile and environment?
Currently there are no options. All paths are linked into user
profiles/environments (but for a few hard-coded exceptions).
Ok, thanks.
I plan some work
Eelco Dolstra wrote:
On 08/04/14 09:54, Marc Weber wrote:
Also waste of space/bandwidth always happens because:
- nixos always ships with header files for all libraries
(this could be fixed because nix supports multiple outputs)
Yeah, multiple outputs will fix this eventually
Peter Simons wrote:
When I want to reboot my box I enter 'reboot' in the prompt. And most
of the time I see unmounting /nix/store and nothings happens after
that.
I've run into this issue, too, but only sporadically. I have no idea
what might be the cause of this phenomenon. It feels
Vladimír Čunát wrote:
On 04/08/2014 02:29 PM, Roelof Wobben wrote:
but when I do nix-build -A cinnamon-settings-daeemon in the directory
which contains the nix file I get a message that default.nix cannot be
found.
Normally, you should call nix-build in the root of the nixpkgs tree,
or
Hi
my goal is to write nix expressions / packages for EPICS [1]. EPICS is quite
non-standard w.r.t. building and configuration. The build system was
designed 20 years ago to make cross-compilation to lots of embedded target
architectures easy for end users. That was at a time when cross-builds
Pablo Costa wrote:
(3) I love the declarative approach to system configuration. However, for
a
newcomer it is hard to find out how to configure his favorite packages.
What
options are there and how can I set them? Is looking at the 'sources'
(for the package's nix expressions) the only way?
Eelco Dolstra wrote:
On 30/03/14 23:01, Ben Franksen wrote:
(2) It seems impossible to install NixOS w/o installing the boot loader.
You can set:
boot.loader.grub.device = nodev;
to prevent the installation of GRUB in the MBR while still generating a
GRUB configuration in /boot
Hi
I have installed nix under ubuntu, using the ubuntu deb package. Then I
followed the instructions in the nix manual for multi-user installs, i.e.
created build users groups and added a nix.conf:
ben@sarun[1]: ~ sudo dpkg -i nix_1.6.1-1_amd64.deb
output elided
bben@sarun[1]: ~ cat
James Cook wrote:
On 5 April 2014 16:47, Ben Franksen ben.frank...@online.de wrote:
I have installed nix under ubuntu, using the ubuntu deb package. Then I
followed the instructions in the nix manual for multi-user installs, i.e.
created build users groups and added a nix.conf:
[...]
Then I
Ben Franksen wrote:
James Cook wrote:
On 5 April 2014 16:47, Ben Franksen ben.frank...@online.de wrote:
I have installed nix under ubuntu, using the ubuntu deb package. Then I
followed the instructions in the nix manual for multi-user installs,
i.e. created build users groups and added
James Cook wrote:
/nix/var/nix/profiles has the same permissions/owner/group on my
system. If the daemon is running as root and you have the env
variable set, then I'm not sure what's happening.
Never mind, I googled a bit and found this on the net:
Hi Everyone
I am new to NixOS (but not to Linux), just installed the stable (13.10)
version and have a number of questions/comments.
(1) Installation with USB stick failed during the first reboot with waiting
for /dev/sdb1 to appear.. (Also, the 'boot form harddisk' entry in the
Ben Franksen wrote:
(4) How do I fix something if it is broken? Note I don't want to upgrade
my whole NixOS configuration to the unstable branch (as all the
documentation suggests), just make one or two fixes in certain packages
(e.g. the nedit package is currently broken, when starting
Kirill Elagin wrote:
On Mon, Mar 31, 2014 at 1:01 AM, Ben Franksen
ben.frank...@online.dewrote:
(2) It seems impossible to install NixOS w/o installing the boot loader.
Hm,
boot.loader.grub.enable = false;
Nope, that's what I tried first, of course, nixos-install complains that you
Kirill Elagin wrote:
On Mon, Mar 31, 2014 at 1:35 AM, Kirill Elagin kirela...@gmail.com
wrote:
You'll have to look it up in `pkgs/top-level/all-packages.nix`.
Either clone the nixpkgs repository or you can find a copy at
`/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`.
Oh,
Marc Weber wrote:
Excerpts from Ben Franksen's message of Mon Apr 23 10:53:26 +0200 2012:
Would it be sensible or even possible to factor out the configuration
language from the nix package and distribute it separately?
Such things are always possible. I think you should talk about your use
Marc Weber wrote:
Excerpts from Ben Franksen's message of Mon Apr 23 12:42:14 +0200 2012:
I don't know how I can execute a 'nix-language script'. Is there a tool
in the nix package that I could use for that?
the nix suite ships with test cases. If you look at those you'll find
that its
Ben Franksen wrote:
Checking out the nix sources via git, I can't even build it:
ben@sarun[1]: .../tmp/nix git status
# On branch master
nothing to commit (working directory clean)
ben@sarun[1]: .../tmp/nix ./bootstrap.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac
30 matches
Mail list logo