Commit graph

22991 commits

Author SHA1 Message Date
Shea Levy
95679e1344 Misunderstood hasOptions, I think 2012-12-20 00:28:12 -05:00
Shea Levy
ce6d4070a6 Add a 'functionTo x' type.
This is mainly to for the 'merge' concept, but I made a guess as to what
iter and fold would mean for functions.
2012-12-19 22:49:37 -05:00
Eelco Dolstra
bbffdd4702 postgresql: Add version 9.2 2012-12-19 13:51:28 +01:00
Shea Levy
3fa853ec24 st: Use official release tarball 2012-12-18 11:13:12 -05:00
Eelco Dolstra
b643316a42 VM builds: Use BusyBox
http://hydra.nixos.org/build/3510928
2012-12-18 16:57:11 +01:00
David Guibert
7503291ff9 update freerdp to 1.0.1 and unstable version. 2012-12-18 09:57:07 +01:00
Shea Levy
9247552a91 Linux 3.7.1 2012-12-17 17:45:01 -05:00
Shea Levy
baa5ebfbdf Linux 3.0.57 2012-12-17 17:43:02 -05:00
Shea Levy
55196223c7 Linux 3.4.24 2012-12-17 17:42:38 -05:00
Shea Levy
cc12516cf0 Linux 3.6.11 2012-12-17 17:33:44 -05:00
Shea Levy
2fc426577b Unmaintain aufs 2012-12-17 17:16:48 -05:00
Eelco Dolstra
3644f9124a pam_ssh_agent_auth: Allow multiple authorized keys files
We need this because of https://github.com/NixOS/nixos/pull/52.
2012-12-17 21:11:10 +01:00
Eelco Dolstra
f8cf626b5e pam_ssh_agent_auth: Update to 0.9.4 2012-12-17 21:11:10 +01:00
Rickard Nilsson
59c9f406fd darktable: Update to 1.1.1 2012-12-17 17:27:13 +01:00
Shea Levy
97389f5b1f Keep nixpkgs backwards-compatible at least 1 version 2012-12-17 10:21:55 -05:00
Lluís Batlle i Rossell
faf821e501 Adding USB cameras to linux 3.7
Details changed since the 3.6 config to get this enabled.
2012-12-17 11:52:47 +01:00
Shea Levy
6a147cfbfa Add unionfs-fuse meta 2012-12-16 16:42:45 -05:00
Shea Levy
42b061d118 Add unionfs-fuse 2012-12-16 16:25:24 -05:00
Shea Levy
88e43775fd fuse 2.9.2 2012-12-16 16:25:24 -05:00
Lluís Batlle i Rossell
62fa1b8782 Adding ext4 to vmTools. Otherwise, nixos build-vm fails with 'useBootLoader'. 2012-12-16 21:43:35 +01:00
Andres Loeh
0f5976b599 ghc-paths: Fix patch to hopefully work with older GHCs. 2012-12-16 17:25:43 +01:00
Lluís Batlle i Rossell
5a475f7250 utillinux: fixing mount/umount, for our case of /etc/mtab symlinking to /proc/mounts
In systemd, without this patch, 'mount' for 'user' fstab devices works, but
umount does not; it says to require root.
All gets normal with this patch.
2012-12-16 15:43:47 +01:00
Andres Loeh
d068aa9861 Patch ghc-paths to interact better with ghcWithPackages.
When the ghc-paths library is compiled, the paths of the
compiler it is compiled with are being hardcoded in the
library (and can then be queried from other applications
using the library).

But on Nix, packages are compiled with ghc-wrapper, and
subsequently possibly used with a special version of ghc
generated for a particular environment of packages. So
one version of ghc-paths may potentially end up being
used by lots of different instances of ghc. The hardcoding
approach fails.

As a work-around, we now patch ghc-paths so that it allows
setting the paths that can be queried via environment
variables. Specific GHC environments can then set these
environment variables in the wrapper shell script that
invokes GHC.

This should at least partially solve issue #213.
2012-12-16 14:25:15 +01:00
Aristid Breitkreuz
e89aea5e42 add luite's mirror to cabal/hackage download expression (for when hackage.haskell.org is down) 2012-12-15 23:34:49 +01:00
Peter Simons
918b26a59e git-annex: update to version 3.20121211 2012-12-15 11:44:13 +01:00
Peter Simons
3017d35260 haskell-vault: update to version 0.2.0.3 2012-12-15 11:32:48 +01:00
Peter Simons
fe826eb71d haskell-unordered-containers: update to version 0.2.3.0 2012-12-15 11:32:47 +01:00
Peter Simons
06669abb0f haskell-uniplate: update to version 1.6.10 2012-12-15 11:32:47 +01:00
Peter Simons
4b3a48b75f haskell-lens: update to version 3.7.1 2012-12-15 11:32:47 +01:00
Peter Simons
f7cf103ee8 haskell-iproute: update to version 1.2.10 2012-12-15 11:32:47 +01:00
Peter Simons
5653671646 haskell-heist: update to version 0.10.1 2012-12-15 11:32:47 +01:00
Peter Simons
fc17b6d767 haskell-diagrams-svg: update to version 0.6.0.1 2012-12-15 11:32:47 +01:00
Peter Simons
cc5b72c240 haskell-case-insensitive: update to version 0.4.0.4 2012-12-15 11:32:47 +01:00
Peter Simons
4a1cf1dc95 haskell-attoparsec: update to version 0.10.3.0 2012-12-15 11:32:47 +01:00
Peter Simons
6201716063 haskell-aeson: update to version 0.6.1.0 2012-12-15 11:32:47 +01:00
Lluís Batlle i Rossell
14d87a44b1 Trying to fix avogadro -> kdeedu
avogadro also wants eigen2.
2012-12-14 22:23:37 +01:00
Lluís Batlle i Rossell
b956b77423 eigen: adding back eigen 2.0, for kde.
Kdeedu wants eigen 2.0.
2012-12-14 22:23:36 +01:00
Florian Friesdorf
93b3d24b96 oauth2 tests still fail 2012-12-14 20:24:53 +01:00
Florian Friesdorf
0fb9688235 python prefix for recursive pth loader and fix typo 2012-12-14 19:47:51 +01:00
Mathijs Kwik
4d57a834f9 phantomjs: it seems upx packing is only used on x86_64 2012-12-14 00:27:43 +01:00
aszlig
639edcb829
manual-kernel: Fix handling spaces in readConfig.
The previos version did a for loop over the output of set, which spits out _all_
defined variables and their contents. This not only is dangerous if there is a
variable starting with CONFIG_ but also can't handle whitespace, as the IFS is
set to any (horizontal _and_ vertical) whitespace by default.

So, imagine (actually don't imagine, something like this is the case in a lot of
kernel configuration files) you have the following variable:

CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi -fcall-saved-rsi ..."

A loop with for and the default IFS would result in the following variable
pieces:

0: CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi
1: -fcall-saved-rsi
2: ..."

This obviously leads to the problem that this config variable is being cut off
at the first whitespace.

Another downside of this approach is that set not only returns variables but
functions as well. This could lead to quite a lot of unexpected behaviour and
confusion.

So the new approach doesn't source the kernel configuration anymore but uses
`read` to parse the file line-by line, setting IFS to '=', thus splitting all
configuration lines into key/value pairs.

Using parameter expansion, we ensure that we only read lines starting with
"CONFIG_". This particularily has the advantage of not being bash-specific,
should we choose to change to a different default shell someday.

Now, after we got a correct "CONFIG_" line, we're using a temporary variable to
split off the first quote from the result. Particularily the reason behind this
is shell compatibility again, as ${${foo#"}%"} only works in Bash, Zsh and
whatnot but not in plain SH.

And within the next line we obviously insert the no_firstquote variable without
it's last quote removed.

But, what about escaping?

First of all, if we'd just eval the $val variable, we would correctly unescape
the value, but this has the downside that variables within the content would be
expanded, for example look at this:

CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

Well, obviously this is a bad example at the Nix sense, but just to show that
variables within kernel configuration entries aren't impossible.

And second, which would have been a show stopper if \" would be within $val: It
simply would end up being an invalid Nix expression, because \" would end up as
a ploin " within a double quoted string.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-12-13 22:54:57 +01:00
Mathijs Kwik
fbee57defb new package: casperjs 2012-12-13 17:51:03 +01:00
Mathijs Kwik
2cdc567ff5 new package: phantomjs 2012-12-13 17:51:03 +01:00
Rickard Nilsson
591c27e58d argyllcms: New package, version 1.4.0
ArgyllCMS is an ICC compatible color management system.
2012-12-13 16:01:35 +01:00
Lluís Batlle i Rossell
adb2fabf8d freecad: removing a patch not needed anymore 2012-12-13 15:18:40 +01:00
Mathijs Kwik
6776756882 mkvtoolnix: upgrade to 5.9.0 2012-12-13 14:00:28 +01:00
Mathijs Kwik
caf561d41a aufs3: upgrade to 1210 release, add linux-3.7 support 2012-12-13 14:00:28 +01:00
Michael Raskin
a0ed4d2295 Updating OpenSCAD to use Eigen3 2012-12-13 16:24:05 +04:00
Michael Raskin
215c5f0ff8 EQL: update to latest snapshot 2012-12-13 15:53:24 +04:00
Lluís Batlle i Rossell
465f4f4e3e freecad: updating to git master 2012-12-13 12:38:19 +01:00