Commit Graph
100 Commits
Author SHA1 Message Date
Bjørn Forsman aa12eddb6c pythonPackages.nwdiag: unbreak eval
Oops, this should have been part of commit afd4a17ee5
("pythonPackages.nwdiag: move to python-modules/"). I noticed 2 seconds
to late!
2017-10-29 22:53:27 +01:00
Bjørn Forsman ccc1f9a540 pythonPackages.usbtmc: 0.6 -> 0.8 2017-10-29 22:35:16 +01:00
Bjørn Forsman 82ababbd83 pythonPackages.pyusb: 1.0.0 -> 1.0.2
Also, fetchurl -> fetchPypi.
2017-10-29 22:35:16 +01:00
Bjørn Forsman 4b3f729172 pythonPackages.dpkt: 1.8 -> 1.9.1
* fetchurl -> fetchPypi
* Tests work now.
* Package is py3k compatible now.
2017-10-29 22:35:16 +01:00
Bjørn Forsman 5065f0f258 pythonPackages.pycollada: 0.4.1 -> 0.5
* fetchurl -> fetchPypi
2017-10-29 22:35:16 +01:00
Bjørn Forsman 454ad93a35 pythonPackages.construct: 2.8.10 -> 2.8.16 2017-10-29 22:35:16 +01:00
Bjørn Forsman 41b89d1577 pythonPackages.autopep8: 1.0.4 -> 1.3.3
The pep8 package is renamed to pycodestyle and autopep8 references the
new name.

(Also, fetchurl -> fetchPypi.)
2017-10-29 22:35:16 +01:00
Bjørn Forsman adac3e43fd pythonPackages.llfuse: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 1402436395 pythonPackages.pyev: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 05bf2bdba1 pythonPackages.usbtmc: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman aaa3608b4b pythonPackages.pyusb: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 086ad07ed6 pythonPackages.scapy: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 628e1b9b4e pythonPackages.seqdiag: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman fb3973a43e pythonPackages.robotframework-ride: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman b6d345c4b0 pythonPackages.robotframework: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 3ab65ef6bf pythonPackages.robomachine: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 6de28d760a pythonPackages.Pyro: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman afd4a17ee5 pythonPackages.nwdiag: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 9e76c950a7 pythonPackages.gevent: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 34dbc6c01c pythonPackages.dpkt: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 95f29282fb pythonPackages.pycollada: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 0bc9f75dc1 pythonPackages.construct: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 4c0582d47d pythonPackages.blockdiag: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 36ff83402a pythonPackages.autopep8: move to python-modules/ 2017-10-29 22:34:01 +01:00
Bjørn Forsman 489cdc23fc pythonPackages.robotsuite: move to python-modules/
Easier maintenance when expressions are in separate files.
2017-10-29 11:51:31 +01:00
Bjørn Forsman 7357b369d5 pythonPackages.pyodbc: move to python-modules/
Easier maintenance when expressions are in separate files.
2017-10-29 11:51:23 +01:00
Bjørn Forsman 013da4ef66 pythonPackages.demjson: move to python-modules/
Easier maintenance when expressions are in separate files.
2017-10-29 11:51:19 +01:00
Bjørn Forsman b1e23a87b1 pythonPackages.bitstring: move to python-modules/
Easier maintenance when expressions are in separate files.
2017-10-29 11:50:59 +01:00
Bjørn Forsman 0b93dbe9d6 pythonPackages.robotsuite: 1.4.2 -> 2.0.0
* fetchurl -> fetchPypi
* Remove commented out doCheck
2017-10-29 11:26:57 +01:00
Bjørn Forsman 235a31b79f pythonPackages.pyodbc: 3.0.7 -> 4.0.19
* fetchurl -> fetchPypi
* Update homepage (old page still works, but tells user to got to
  github).
2017-10-29 11:26:57 +01:00
Bjørn Forsman 2e44d576fd pythonPackages.demjson: 1.6 -> 2.2.4
* fetchurl -> fetchPypi
* Tests work now.
* jsonlint is installed for us by package buildsys.
* Disable for python3.6 (build/test error).
2017-10-29 11:26:57 +01:00
Bjørn Forsman f6b0aa8ad5 pythonPackages.bitstring: 3.1.2 -> 3.1.5
* fetchurl -> fetchPypi
* Tests work now
* Update homepage
2017-10-29 11:26:57 +01:00
Bjørn Forsman 12d6fed2ba nixos/tests: enable prometheus test
As far as I can tell, we've had this test since 2015, but it was never
enabled.
2017-10-16 20:31:49 +02:00
Bjørn Forsman 774d05878a nixos/tests: unbreak prometheus test
Commit 271d3f7a43 ("prometheus service: globalConfig.labels is obsolete")
removed globalConfig.labels. Update the test config accordingly.
2017-10-16 20:31:49 +02:00
Bjørn Forsman 10e79d43f6 nixos/tests: add gitolite test 2017-10-16 19:22:07 +02:00
Bjørn Forsman 497108b456 nixos/atd: remove "batch" from setuid wrappers
"batch" is a shell script so invoking it via setuid wrapper never worked
anyway. (The kernel drops perms on executables with shebang.) A previous
nixpkgs commit made "batch" invoke the NixOS setuid "at" wrapper to gain
needed privileges.

Thanks to @yesbox for noticing.
2017-10-16 19:08:19 +02:00
Bjørn Forsman 943730ff9b nixos/tests: add basic test for services.atd 2017-10-16 19:08:19 +02:00
Bjørn Forsman 38e6ae8e44 at: fix permission errors with "batch" on NixOS
Fixes https://github.com/NixOS/nixpkgs/issues/12392
2017-10-16 19:08:19 +02:00
Bjørn Forsman 0ff4bb5f87 nixos: run parted with --script option
-s, --script: never prompts for user intervention

Sometimes the NixOS installer tests fail when they invoke parted, e.g.
https://hydra.nixos.org/build/62513826/nixlog/1. But instead of exiting
right there, the tests hang until the Nix builder times out (and kills
the build). With this change the tests would instead fail immediately,
which is preferred.

While at it, use "parted --script" treewide, so nobody gets build
timeout due to parted error (or misuse). (Only nixos/ use it, and only
non-interactive.)

A few instances already use the short option "-s", convert them to long
option "--short".
2017-10-14 15:29:02 +02:00
Bjørn Forsman d26f8b5e00 nixos/lighttpd: add missing modules to allKnownModules
The output of ./configure shows all modules/plugins, both enabled and
disabled. With this info we can finally build the _complete_ list of
modules. We were missing these:

  mod_authn_gssapi
  mod_authn_ldap
  mod_geoip

(I hit this as I was building lighttpd with ldap support and the NixOS
module said ldap was unsupported, due to these missing entries in
allKnownModules.)
2017-10-10 20:14:38 +02:00
Bjørn Forsman a0aeb376a9 plantuml: 1.2017.16 -> 1.2017.18 2017-10-07 11:27:29 +02:00
Bjørn Forsman 92852fd193 ccid: change patchPhase to postPatch
This stops the derivation from overriding the default patchPhase, which
right now prevents adding a list of patches in the "patches" attribute.
2017-10-06 12:09:56 +02:00
Bjørn Forsman e570198980 lshw: fix built-in version info
Currently lshw says its version is "unknown". Make it report the current
package version instead.
2017-09-30 11:39:30 +02:00
Bjørn Forsman 3c6eb3a247 nixos/iso-image.nix: add top-level /version.txt file
This makes it easy to identify which NixOS version is written to an USB
stick without actually booting it.
2017-09-28 00:54:28 +02:00
Bjørn Forsman d757d8142e vimPlugins.robotframework-vim: init at 2017-04-14 2017-09-25 22:24:13 +02:00
Bjørn Forsman 3a58e41e43 nixos/gitolite: use group 'gitolite' instead of 'nogroup'
Having files (git repositories) owned by 'nogroup' is a bad idea.
2017-09-23 16:33:52 +02:00
Bjørn Forsman 983d01421e fpart: init at 0.9.3 2017-09-17 13:04:09 +02:00
Bjørn Forsman a2a9b53e77 cdrkit: fix 'dirsplit' tool by depending on perl
Or else dirsplit uses "/usr/bin/perl" shebang.
2017-09-17 10:06:53 +02:00
Bjørn Forsman f557aa49fb Fix eval
$ nix-env -f . -qa '*' --meta --xml --drv-path --show-trace
error: while querying the derivation named ‘python2.7-rpkg-1.50’:
attribute ‘gpl2plus’ missing, at .../pkgs/development/python-modules/rpkg/default.nix:24:15

Introduced by commit c29a721350
("rpkg: 1.14 -> 1.50").
2017-09-17 09:41:28 +02:00
Bjørn Forsman 6b7a9376f1 nixos/wpa_supplicant: use literalExample
For various reasons, big Nix attrsets look ugly in the generated manual
page[1]. Use literalExample to fix it.

[1] Quotes around attribute names are lost, newlines inside multi-line
strings are shown as '\n' and attrs written on multiple lines are joined
into one.
2017-09-15 20:27:48 +02:00
Bjørn Forsman 67c70aa581 OVMF: add 'src' attribute
No functional change, but allows getting the source via the standard
attribute: `nix-build -A OVMF.src`.
2017-09-13 17:30:28 +02:00
Bjørn Forsman 56a047c7a1 doc/submitting-changes.xml: suggest "nixos/<module>" prefix for NixOS changes
Commit 8537cf0f81
("CONTRIBUTING.md: suggest "nixos/<module>" prefix for NixOS changes")
only changed CONTRIBUTING.md file and forgot about the Nixpkgs manual.
(I didn't know this information was stored in two places.)
2017-09-13 14:10:25 +02:00
Bjørn Forsman 6b9ee30672 nixos/gitolite: don't leak nix store hash into gitolite-admin username/key
It doesn't look good when the initial admin user is named
"<hash>-gitolite-admin" and the key stored as
"<hash>-gitolite-admin.pub". Instead, make it simply "gitolite-admin"
and "gitolite-admin.pub".
2017-09-12 10:56:11 +02:00
Bjørn Forsman fc02a0265a nixos/samba: remove space in "[ global ]" heading
Use consistent no-space style. (All documentation I've seen use no
space, and the generated section headings from the NixOS module also use
no space.)
2017-09-12 08:03:14 +02:00
Bjørn Forsman 88ae298467 qmmp: 1.1.9 -> 1.1.10 2017-09-11 20:07:03 +02:00
Bjørn Forsman 4b84127f1c qmmp: 1.1.5 -> 1.1.9 2017-09-11 19:58:11 +02:00
Bjørn Forsman f4bac5cdb7 wireshark: 2.4.0 -> 2.4.1
Remove patches that have been merged upstream.
2017-09-11 17:24:33 +02:00
Bjørn Forsman 835b2ccfa8 t1utils: 1.39 -> 1.41 2017-09-11 17:24:33 +02:00
Bjørn Forsman 421949e436 gsoap: 2.8.49 -> 2.8.53 2017-09-11 17:24:33 +02:00
Bjørn Forsman 0a7d124eb0 basex: 8.6.4 -> 8.6.6 2017-09-11 17:24:33 +02:00
Bjørn Forsman 0177902337 ascii: 3.15 -> 3.18 2017-09-11 17:24:33 +02:00
Bjørn Forsman 28f780b320 eagle: 7.5 -> 7.7
This is the latest release from Cadsoft, before they were bought by
Autocad. Autocad has released 8.x, but

- it requires reworking the Nix expression (different packaging)
- the paid license version requires a monthly subscription fee, you never
  "own" the software (AFAICT).

Due to the licensing change in 8.x, I think keeping Eagle 7.x around is
a good idea.
2017-09-11 14:44:43 +02:00
Bjørn Forsman 15c18cef3d kicad: 4.0.6 -> 4.0.7 2017-09-09 13:05:07 +02:00
Bjørn Forsman dfbb710375 kicad: put the full version string in name 2017-09-09 13:03:09 +02:00
Bjørn Forsman c24820db93 perlPackages.BoostGeometryUtils: unbreak build
Set LD=$CC to fix this build error:

...
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Boost/Geometry/Utils/Utils.bs')
ld -shared -O2 -L/nix/store/sgjc1147vi5hd57ck9xgck5xjkydg5lz-glibc-2.25/lib -fstack-protector-strong -o blib/arch/auto/Boost/Geometry/Utils/Utils.so buildtmp/Utils.o -lstdc++
buildtmp/Utils.o: In function `_GLOBAL__sub_I_Utils.c':
Utils.c:(.text.startup+0x1a): undefined reference to `__dso_handle'
/nix/store/yf4p5w2v4h4i8rja9zw1akp007av624j-binutils-2.28.1/bin/ld: buildtmp/Utils.o: relocation R_X86_64_PC32 against undefined hidden symbol `__dso_handle' can not be used when making a shared object
/nix/store/yf4p5w2v4h4i8rja9zw1akp007av624j-binutils-2.28.1/bin/ld: final link failed: Bad value
error building blib/arch/auto/Boost/Geometry/Utils/Utils.so from buildtmp/Utils.o at /nix/store/7q2hps69zkj501lsmvnd2ry95mmdbh80-perl-5.24.2/lib/perl5/5.24.2/ExtUtils/CBuilder/Base.pm line 321.
builder for ‘/nix/store/bdwqvgxlgcqsmlqfh0d74jkpw96p78kh-perl-Boost-Geometry-Utils-0.15.drv’ failed with exit code 2
error: build of ‘/nix/store/bdwqvgxlgcqsmlqfh0d74jkpw96p78kh-perl-Boost-Geometry-Utils-0.15.drv’ failed
2017-09-07 21:48:58 +02:00
Bjørn Forsman eed14baec3 nixos/postfix: undo deprecation of extraConfig, extraMasterConf
I realize that advanced users like to configure services with Nix
attrsets, but I don't think we should remove the option to use the
(configuration) language provided by upstream.
2017-09-07 21:41:29 +02:00
Bjørn Forsman 2cf1b94b82 pythonPackages.pyrtlsdr: unbreak build
pyrtlsdr needs pandoc at build time. Fixes the build since commit
f6eb190e70
("python.pkgs.pyrtlsdr: disable tests to fix build"). (That commit
bumped the package to a new version.)
2017-09-02 16:47:57 +02:00
Bjørn Forsman ed0f2641cb apcupsd: unbreak build
Fix build since commit 093cc00cdd
("cc-wrapper: Always export environment variables for binutils").

The apcupsd build system uses "$(STRIP)" as flags for the "install"
program. Now that $STRIP is the path to the strip binary, we cannot pass
that to "install". Fixes this:

  ...
  COPY  multimon.cgi => /nix/store/...-apcupsd-3.14.14/libexec/cgi-bin
/nix/store/...-coreutils-8.27/bin/install: cannot stat 'strip': No such file or directory
2017-08-15 22:11:14 +02:00
Bjørn Forsman 1639429359 vim_configurable: add ".../after" plugin dirs to runtimepath
This fixes using e.g. CSApprox when installed with nix.
2017-07-29 14:34:13 +02:00
Bjørn Forsman aff0725a7d nixos/lighttpd: add enableUpstreamMimeTypes option
enableUpstreamMimeTypes controls whether to include the list of mime
types bundled with lighttpd (upstream). This option is enabled by
default and gives a much more complete mime type list than we currently
have. If you disable this, no mime types will be added by NixOS and you
will have to add your own mime types in services.lighttpd.extraConfig.
2017-07-29 14:24:40 +02:00
Bjørn Forsman a65d8d3af3 lighttpd: install configuration examples
Place them in $out/share/lighttpd/doc/config/.

Most importantly, this includes a complete set of mime types in the
$out/share/lighttpd/doc/config/conf.d/mime.conf file. The plan is to use
that file in the NixOS lighttpd module.
2017-07-29 14:24:40 +02:00
Bjørn Forsman b339e6e13f nixos/lighttpd: update list of allowed module names
* mod_dirlisting is auto-loaded by lighttpd and should not be explicitly
  loaded in the configuration file.
* The rest comes from looking at "ls -1 $lighttpd/lib/*.so" when
  lighttpd is built with "enableMagnet" and "enableMysql".
2017-07-29 14:24:40 +02:00
Bjørn Forsman a842fa34dd nixopsUnstable: add lowPrio
Or else nix-env updates the stable version to unstable.
2017-07-23 15:24:00 +02:00
Bjørn Forsman 8537cf0f81 CONTRIBUTING.md: suggest "nixos/<module>" prefix for NixOS changes
Suggest prefixing commit messages that touches NixOS code with
"nixos/<module>" instead of the current "<name> service" prefix.

"<name> service" is limiting in that NixOS code is more than the
services. It is also easier to spot NixOS changes with explicit
"nixos/..." prefix.
2017-07-22 00:21:05 +02:00
Bjørn Forsman b8e109d6ac nixos/libvirt: prevent OVMF path from being garbage collected
Use xmlstarlet to update the OVMF path on each startup, like we do for
<emulator>...qemu-kvm</emulator>.

A libvirt domain using UEFI cannot start if the OVMF path is garbage
collected/missing.
2017-07-14 22:07:57 +02:00
Bjørn Forsman 292827b0e0 nixos/libvirt: modify xml with xmlstarlet
Instead of grep and sed, which is brittle.

(I don't know how to preserve the comment we currently add to say that
this line is auto-updated. But I don't think it adds much value, so I'm
not spending any effort on it.)
2017-07-14 22:07:57 +02:00
Bjørn Forsman 407b56986e nixos/lighttpd: fix indent (tab -> space) 2017-07-14 20:37:25 +02:00
Bjørn Forsman 8a35f751d1 nixos/spice-vdagentd: remove needless shell 2017-07-14 16:28:25 +02:00
Bjørn Forsman 01ec484a47 libvirt: add missing gettext in libvirt-guests.sh
Or else this is seen in the system log:

.../libexec/libvirt-guests.sh: line 211: gettext: command not found
2017-07-13 21:42:32 +02:00
Bjørn Forsman 6916f24e84 treewide: enableParallelBuild -> enableParallelBuilding 2017-06-24 22:22:48 +02:00
Bjørn Forsman b8658f629b fetchgit: support "git@server:repo" URLs
Update the code that extracts the base name from a git repo URL so that
it can deal with URLs like "git@server:repo".
2017-06-24 14:34:08 +02:00
Bjørn Forsman c95f3a36cd sdcc: 3.5.0 -> 3.6.0
* requires texinfo
* --std=c99 unneeded, fixed upstream
* can build with nixpkgs default boost (v1.62), so let's do that
2017-06-11 16:02:21 +02:00
Bjørn Forsman 5b48368386 nixos/bcache: add services.udev.packages = [ bcache-tools ]
Adds /dev/disk/by-{id,label}/* symlinks for bcache device nodes, in the
final rootfs.

Symlinks will only be created for bcache devices that contain
filesystems. So if you have a blank bcache device or run LVM on top of
bcache you will not get this kind of symlink.
2017-06-10 17:10:49 +02:00
Bjørn Forsman 581226cfb4 nixos/bcache: /bin/sh -> ${bash}/bin/sh
Or else `services.udev.packages = [ bcache-tools ]` cannot be used.

To not break bcache in the initrd I'm modifying this in stage-1.nix:

  -  --replace /bin/sh ${extraUtils}/bin/sh
  +  --replace ${bash}/bin/sh ${extraUtils}/bin/sh

Reasoning behind that change:

* If not modifying the /bin/sh pattern in any way, it will also match
  ${bash}/bin/sh, creating a broken path like
  /nix/store/HASH-bash/nix/store/HASH-bash/bin/sh in the udev rule file.

* The addition of /bin/sh was done in 775f381a9e
  ("stage-1: add bcache support"). It seems somewhat plausible that
  no new users have appeared since then and we can take this opportunity
  to back out of this change without much fear of regressions.

  If there _are_ regressions, they should be in the form of build time
  errors, not runtime (boot), due to how the udev rule output is checked
  for invalid path references. So low risk, IMHO.

* An alternative approach could be to copy the /bin/sh substitute rule
  over to the non-initrd udev rules implementation in NixOS, but I think
  this way is better:
  - The rules file comes with a working path out of the box.
  - We can use more precise pattern matching when modifying the udev
    rules for the initrd.
2017-06-10 17:10:49 +02:00
Bjørn Forsman f12b0a2179 bcache-tools: add name to the source store path
So that

 $ nix-build -A bcache-tools.src

gives

 /nix/store/HASH-bcache-tools-1.0.7.tar.gz

instead of

 /nix/store/HASH-v1.0.7.tar.gz
2017-06-10 17:10:49 +02:00
Bjørn Forsman 6a55fda61e nixos/acme: improve documentation
* Use literalExample for better readability
* Clarify a bit wrt. 'webroot' and 'allowKeysForGroup'
2017-06-09 19:35:17 +02:00
Bjørn Forsman 7a0e958b97 nixos/acme: support "full.pem" (for lighttpd)
* Create "full.pem" from selfsigned certificate
* Tell simp_le to create "full.pem"
* Inject service dependency between lighttpd and the generation of certificates

Side note: According to the internet these servers also use the
"full.pem" format: pound, ejabberd, pure-ftpd.
2017-06-09 19:35:17 +02:00
Bjørn Forsman f16a9f694e cgdb: remove unneeded 'help2man' dependency
Unused since version 0.7.0:

  https://raw.githubusercontent.com/cgdb/cgdb/v0.7.0/NEWS
2017-06-01 23:44:55 +02:00
Bjørn Forsman 0eff1d9f2a vino: use wrapGAppsHook
Fixes this:

  .vino-server-wr[8931]: Using the 'memory' GSettings backend. \
  Your settings will not be saved or shared with other applications.

Still, the screen sharing settings under "gnome-control-center sharing"
does not seem to be persisted (except the enabling/disabling sharing
flag itself). Making changes and then re-opening gnome-control-center
shows the default screen sharing settings. Sigh.
2017-05-18 08:22:14 +02:00
Bjørn Forsman f9633c7791 nixos/gnome3: fix screen sharing
Without this change there will be silent errors when enabling screen
sharing. The GUI thinks it enables the service when it in fact does not
(errors are seen in the system journal).

vino is already in the closure of gnome-control-center, so this is
basically free.

Configuration of screen sharing is done in GNOME control center.
2017-05-17 15:23:11 +02:00
Bjørn Forsman 94c47b0884 vino: add missing gsettings schema
Fixes this:

  $ ./result/libexec/vino-server
  ...
  (vino-server:13915): GLib-GIO-ERROR **: Settings schema 'org.gnome.Vino' is not installed
2017-05-17 15:23:11 +02:00
Bjørn Forsman c282de7103 nixos/munin: remove duplicated /run/current-system/sw/bin path
A side effect of commit ff21171921
("Fix references to current-system/sw/sbin"). It changed "sbin" to "bin"
but didn't check for duplicates.
2017-04-30 21:04:51 +02:00
Bjørn Forsman 472fbe651f owncloud-client: 2.3.0 -> 2.3.1 2017-04-30 20:24:30 +02:00
Bjørn Forsman fdcb4fa4b8 owncloud-client: unbreak build (qt58 -> qt56)
The build fails due to missing qt linguist tools. That's solved by
adding 'qttools'. But the build fails soon after with missing 'Sql'
module. I didn't manage to solve that, so use Qt 5.6 where it works.

Using libsForQt seems to be the way Qt packages are composed today, so
use that (seems safer).
2017-04-30 20:19:57 +02:00
Bjørn Forsman 83129a6eed qgit: fix meta: maintainer -> maintainers 2017-04-30 16:54:59 +02:00
Bjørn Forsman ddb788b671 OVMF: get version number from edk2
OVMF is built from edk2 sources so that's where its version number comes
from (logically). The edk2 version number is 2014-12-10, so this change
only ensures the version numbers won't drift apart in the future. (There
is no hash change.)
2017-04-23 19:28:34 +02:00
Bjørn Forsman ff252c799d Fix typo in comment 2017-04-19 20:30:44 +02:00
Bjørn Forsman d916ce2ef4 nixos/lighttpd: set $HOME for gitweb sub-service
This allows gitweb to expand '~' in /etc/gitconfig. Without a $HOME
variable, it fails to list any projects and instead show the text
"No such projects found" in the UI.

Setting $HOME to the gitweb project root seems like a sensible value.
2017-04-11 22:54:31 +02:00
Bjørn Forsman d45df036c3 release(-lib).nix: add nixpkgsArgs parameter
This allows customizing the nixpkgs arguments by the caller. My use case
is creating a personal nixpkgs channel containing some unfree packages.

The default is still to not build unfree packages, so for nixpkgs this
is no functional change.
2017-04-11 19:43:34 +02:00
Bjørn Forsman 9c830c8456 hydra: add dependency on Nix' perl bindings
This unbreaks the build since the latest nixUnstable update
(3dd66ec6e9).

It's basically the same fix as in hydra git repo:

  https://github.com/nixos/hydra/commit/a0376a92e5fd90f38d784df3000cdc76ccf314b3
2017-04-11 19:34:25 +02:00