This should ensure the test casnes are always running in the same order,
regardless of the target machine. We're just using the class name here, which
should be sufficient enough to address the issue.
Now the following build should be fixed:
http://hydra.nixos.org/build/5425811
Big thanks to @rbvermaa for being a *really* great help debugging the problem
quickly, because I couldn't reproduce it here (the run order of the test cases
on my machine were 'accidentally' right).
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This still doesn't have all possibly required dependencies, but at least we can
do basic partitioning, which is our primary goal. At least when it comes to the
Hetzner target of nixops. But even for partitioning when installing NixOS this
library could be _very_ useful.
Test cases currently don't work because they're filled with syntax errors and
some references to the mocking library are missing.
As you can see in propagatedBuildInputs, here are the promised overrides for
Python support of libselinux and cryptsetup.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Thought this would be needed for blivet, but it wasn't the case. They seem to
have their own mini-implementation. But it might be useful for other Nixers, who
knows?
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Needed for blivet and this is part of Anaconda (Fedora's installation system).
The reason I'm packaging this is because of blivet and because it's quite well
decoupled from Anaconda itself, so it can be used for other purposes.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Wow, this is one of the most dangerous programs I've seen in a while. It not
only tries to probe for a package manager to install dependencies but also
tries to execute a whole bunch of programs in $PATH. That's why I decided to
override the postFixup phase for now in order to get rid of the current $PATH
and meanwhile getting the basics working.
So, I'm still not sure how to do the best implementation here on NixOS without
allowing winswitch to be too invasive and without restricting it too much so
that it's of no use.
But let's figure that out once we trimmed down the radiation level of this
"living" thing ;-)
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This uses recurseForDerivations directly after using callPackage magic to ensure
that the input attributes can be overriden *and* nix-env shows the package as in
recurseIntoAttrs.
The reason for making this optional is because there probably is only a minority
of people who want to use XMPP and we don't want to introduce an additional
dependency for the majority, do we?
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
I'm still wondering why noone has reported this, but I found out about this
while trying to introduce someone to NixOS, eventually wondering why it is going
to install version 29 when using "nix-env -i chromium".
So, in hope that everyone out there using the package is using the attribute,
let's make _stable_ the default here.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>