Commit graph

39320 commits

Author SHA1 Message Date
Peter Simons
8cefbfcb1f haskell-hasktags: update to version 0.68.7 2014-02-05 20:40:27 +01:00
Peter Simons
fdce90b76c haskell-yaml: update to version 0.8.6 2014-02-05 20:40:27 +01:00
Peter Simons
8fee060a8b haskell-warp: update to version 2.0.3.1 2014-02-05 20:40:27 +01:00
Peter Simons
d91fe0a1d8 haskell-tagstream-conduit: update to version 0.5.5 2014-02-05 20:40:27 +01:00
Peter Simons
363a00d1ce haskell-setenv: update to version 0.1.1.1 2014-02-05 20:40:26 +01:00
Peter Simons
c1aefe3b26 haskell-pipes-zlib: update to version 0.4.0 2014-02-05 20:40:26 +01:00
Peter Simons
677eef34b3 haskell-pipes-parse: update to version 3.0.1 2014-02-05 20:40:26 +01:00
Peter Simons
390f7c4579 haskell-pandoc: update to version 1.12.3.3 2014-02-05 20:40:26 +01:00
Peter Simons
c4ce58575b haskell-pandoc-types: update to version 1.12.3.2 2014-02-05 20:40:26 +01:00
Peter Simons
f8fb3529e6 haskell-numbers: update to version 3000.2.0.1 2014-02-05 20:40:26 +01:00
Peter Simons
9ce70d54f6 haskell-mwc-random: update to version 0.13.1.1 2014-02-05 20:40:26 +01:00
Peter Simons
ebe7e96078 haskell-murmur-hash: update to version 0.1.0.7 2014-02-05 20:40:26 +01:00
Peter Simons
d5aaeb89c1 haskell-mime: update to version 0.4.0 2014-02-05 20:40:26 +01:00
Peter Simons
859f5be293 haskell-mime-mail: update to version 0.4.4 2014-02-05 20:40:26 +01:00
Peter Simons
216be85d75 haskell-lockfree-queue: update to version 0.2.3 2014-02-05 20:40:25 +01:00
Peter Simons
4e9e56382e haskell-haskell-src-exts: update to version 1.14.0.1 2014-02-05 20:40:25 +01:00
Peter Simons
24f0b095a6 haskell-free: update to version 4.5 2014-02-05 20:40:25 +01:00
Peter Simons
43f6f32170 haskell-diagrams-svg: update to version 1.0.1.2 2014-02-05 20:40:25 +01:00
Peter Simons
337a7f9e17 haskell-conduit: update to version 1.0.13 2014-02-05 20:40:25 +01:00
Peter Simons
31e1399a31 haskell-blaze-svg: update to version 0.3.3.1 2014-02-05 20:40:25 +01:00
Peter Simons
2f17d51ce8 haskell-blaze-html: update to version 0.7.0.1 2014-02-05 20:40:25 +01:00
Peter Simons
2916f880b1 haskell-bindings-DSL: update to version 1.0.21 2014-02-05 20:40:25 +01:00
Peter Simons
30ae0ae0a8 haskell-ansi-terminal: update to version 0.6.1.1 2014-02-05 20:40:25 +01:00
Peter Simons
e41a33b48f haskell-abstract-deque: update to version 0.3 2014-02-05 20:40:24 +01:00
Peter Simons
9c3c0397a2 haskell-HTF: update to version 0.11.1.1 2014-02-05 20:40:24 +01:00
Peter Simons
cdbca9518e haskell-HList: update to version 0.3.2.0 2014-02-05 20:40:24 +01:00
Peter Simons
f379d2f5b4 haskell-abstract-deque-tests: add version 0.3 2014-02-05 20:40:24 +01:00
Peter Simons
eb7b5317fd haskell-packages.nix: provide a consistent attribute name for llvmGeneral_3_4 2014-02-05 20:40:24 +01:00
Peter Simons
37a354f632 haskell-llvm-general: drop unnecessary function arguments 2014-02-05 20:40:24 +01:00
Vladimír Čunát
d39d5cbc16 gnome2.vte: fix CVE-2012-2738 (just DOS) 2014-02-05 20:25:21 +01:00
Eelco Dolstra
eed3c8a6ec lcov: Don't warn about missing source files
Another upstream patch for compatibility with current GCCs.
2014-02-05 20:17:01 +01:00
Eelco Dolstra
d7cb2f5712 lcov: Apply upstream patch for GCC >= 4.7 compatibility 2014-02-05 19:46:48 +01:00
Evgeny Egorochkin
c60f9cdb3e kwebkitpart: update from 1.3.2 to 1.3.3 2014-02-05 20:29:56 +02:00
Nixpkgs Monitor
65fe5331f4 kde4_next.calligra: update from 2.7.2 to 2.7.5 2014-02-05 20:23:07 +02:00
Vladimír Čunát
4284694439 nixos/mesa: don't create /run/opengl-driver-32 ...
... if on 64-bit and without 32-bit drivers.
Also assert against requesting 32-bit drivers on 32-bit machine.
2014-02-05 19:20:42 +01:00
Eelco Dolstra
a123a2675b lcov: Filter out /nix/store/* by default 2014-02-05 19:18:33 +01:00
Eelco Dolstra
80647127a3 Turn the coverage analysis stdenv adapters into setup hooks
Stdenv adapters are kinda weird and un-idiomatic (especially when they
don't actually change stdenv).  It's more idiomatic to say

  buildInputs = [ makeCoverageAnalysisReport ];
2014-02-05 19:18:33 +01:00
Eelco Dolstra
bea2b3c517 addCoverageInstrumentation: Set NIX_CFLAGS_COMPILE as an attribute
This allows it to show up in nix-shell.
2014-02-05 19:18:33 +01:00
Eelco Dolstra
58a863268a stdenv: Simplify 2014-02-05 19:18:33 +01:00
Eelco Dolstra
c3d84d15ce Apply makeOverridable to stdenv
This removes the need for hacks like stdenv.regenerate.  It also
ensures that overrideGCC is now stackable (so ‘stdenv = useGoldLinker
clangStdenv’ works).
2014-02-05 19:18:33 +01:00
Eelco Dolstra
7703f04b75 Add a stdenv adapter ‘useGoldLinker’ to force use of Gold 2014-02-05 19:18:33 +01:00
Eelco Dolstra
e060d9a2ff Remove obsolete file 2014-02-05 19:18:33 +01:00
Evgeny Egorochkin
1f21ae53d3 KDE: default to 4.11 2014-02-05 20:14:16 +02:00
Evgeny Egorochkin
e27b00915a youtubeDL: update from 2014.01.30.2 to 2014.02.03 2014-02-05 20:12:54 +02:00
Evgeny Egorochkin
bb0c35d982 kde4_next.konversation: update from 1.4 to 1.5 2014-02-05 20:12:53 +02:00
Lluís Batlle i Rossell
63adcbcfc7 libgcrypt: update to 1.6.1 2014-02-05 16:30:07 +01:00
Rickard Nilsson
72ba2bf126 Add description to group.members option 2014-02-05 15:56:51 +01:00
Rickard Nilsson
0b92ad02c8 Re-introduce security.initialRootPassword, and add a new option users.extraUsers.<user>.hashedPassword 2014-02-05 15:56:51 +01:00
Rickard Nilsson
03ee174032 Only add shadow to system packages if users.mutableUsers is true 2014-02-05 15:56:51 +01:00
Rickard Nilsson
eb2f44c18c Generate /etc/passwd and /etc/group at build time
This is a rather large commit that switches user/group creation from using
useradd/groupadd on activation to just generating the contents of /etc/passwd
and /etc/group, and then on activation merging the generated files with the
files that exist in the system. This makes the user activation process much
cleaner, in my opinion.

The users.extraUsers.<user>.uid and users.extraGroups.<group>.gid must all be
properly defined (if <user>.createUser is true, which it is by default). My
pull request adds a lot of uids/gids to config.ids to solve this problem for
existing nixos services, but there might be configurations that break because
this change. However, this will be discovered during the build.

Option changes introduced by this commit:

* Remove the options <user>.isSystemUser and <user>.isAlias since
they don't make sense when generating /etc/passwd statically.

* Add <group>.members as a complement to <user>.extraGroups.

* Add <user>.passwordFile for setting a user's password from an encrypted
(shadow-style) file.

* Add users.mutableUsers which is true by default. This means you can keep
managing your users as previously, by using useradd/groupadd manually. This is
accomplished by merging the generated passwd/group file with the existing files
in /etc on system activation. The merging of the files is simplistic. It just
looks at the user/group names. If a user/group exists both on the system and
in the generated files, the system entry will be kept un-changed and the
generated entries will be ignored. The merging itself is performed with the
help of vipw/vigr to properly lock the account files during edit.
If mutableUsers is set to false, the generated passwd and group files will not
be merged with the system files on activation. Instead they will simply replace
the system files, and overwrite any changes done on the running system. The
same logic holds for user password, if the <user>.password or
<user>.passwordFile options are used. If mutableUsers is false, password will
simply be replaced on activation. If true, the initial user passwords will be
set according to the configuration, but existing passwords will not be touched.

I have tested this on a couple of different systems and it seems to work fine
so far. If you think this is a good idea, please test it. This way of adding
local users has been discussed in issue #103 (and this commit solves that
issue).
2014-02-05 15:56:51 +01:00