Commit graph

127149 commits

Author SHA1 Message Date
Eelco Dolstra 9802da517f
make-disk-image.nix: Use nixos-install again
Since nixos-install doesn't require any special privileges anymore,
this Just Works. No more need for fakeroot / nixos-prepare-root.
2018-02-07 19:39:13 +01:00
Eelco Dolstra 5d8860b919
nixos-install: Accept --substituters
This is useful in tests where we don't have network access. Passing
--substituters "" prevents wasting time by checking cache.nixos.org.
2018-02-07 19:39:13 +01:00
Eelco Dolstra f64a4af328
Fix comments 2018-02-07 19:32:41 +01:00
Eelco Dolstra e76849dca2
nixUnstable: 2.0pre5889_c287d731 -> 2.0pre5914_48c192ca 2018-02-07 19:32:12 +01:00
Eelco Dolstra 598a3f5b30
nixos-install: Create /etc 2018-02-07 19:10:13 +01:00
Eelco Dolstra 6daad9b3c5
nixos-install: Fix --closure 2018-02-07 18:22:05 +01:00
Eelco Dolstra da702a4034
nixos-enter: Don't require root
Of course, you'll get a bunch of warnings from the activation script:

  $ nixos-enter --root /tmp/mnt/
  setting up /etc...
  mount: /dev: permission denied.
  mount: /dev/pts: permission denied.
  mount: /dev/shm: permission denied.
  mount: /sys: permission denied.
  /nix/var/nix/profiles/system/activate: line 74: /proc/sys/kernel/modprobe: Permission denied
  chown: changing ownership of '/run/wrappers/wrappers.0pKlU8JsvV/dbus-daemon-launch-helper': Invalid argument
  NOTE: Under Linux, effective file capabilities must either be empty, or
        exactly match the union of selected permitted and inheritable bits.
  Failed to set capabilities on file `/run/wrappers/wrappers.0pKlU8JsvV/ping' (Operation not permitted)
  chown: changing ownership of '/run/wrappers/wrappers.0pKlU8JsvV/unix_chkpwd': Invalid argument

  [root@nixos:/]#
2018-02-07 17:59:04 +01:00
Eelco Dolstra 16bdaf3d03
Remove creation of /dev/{fd,stdin,stdout,stderr}
This is already provided by devtmpfs.
2018-02-07 17:58:21 +01:00
Eelco Dolstra bb030ece3b
nixos-enter: Check whether --root denotes a NixOS installation 2018-02-07 17:23:05 +01:00
Eelco Dolstra f0979ca30e
nixos-install: Don't require root
E.g.

  nixos-install --root /tmp/mnt/ --no-bootloader --no-root-passwd

now works for non-root users.
2018-02-07 17:20:26 +01:00
Eelco Dolstra df117acab7
ISO images: Initialize the Nix database with correct NAR hashes/sizes
The boot test now runs "nix verify" to ensure that all hashes are
correct.
2018-02-07 16:54:23 +01:00
Eelco Dolstra 5193807750
VM tests: Initialize the Nix database with correct NAR hashes/sizes 2018-02-07 15:49:02 +01:00
Eelco Dolstra cc0caac098
Move creation of /root to the activation script
...so it appears in a new installation before rebooting the system.
2018-02-05 22:12:18 +01:00
Eelco Dolstra f9e64dbe76
nixos-enter: Don't mount special filesystems
The activation script already does this.
2018-02-05 21:05:02 +01:00
Eelco Dolstra 1346923ffa
modprobe activation: Order after specialfs
It requires the existence of /proc.
2018-02-05 21:04:40 +01:00
Eelco Dolstra e88f28965a
nixos-install: Make compatible with Nix 2.0
The use of Nix 2.0 significantly simplifies the installer, since we
can just pass a different store URI (--store /mnt) - it's no longer
needed to set up a chroot environment for the build, and to bootstrap
Nix into the chroot.

Also, commands that need to run in the installation (namely boot
loader installation and setting a root password) are now executed
using nixos-enter.

This also removes the need for nixos-prepare-root since any required
initialisation is done by Nix or by the activation script.
2018-02-05 19:50:36 +01:00
Eelco Dolstra 60cb23001a
Add a "nixos-enter" command
This factors out the functionality in nixos-install for running a
command inside a NixOS installation (nixos-install --chroot).
2018-02-05 19:41:54 +01:00
Eelco Dolstra 294a4e6ea5
Use nixUnstable as the default temporarily 2018-02-05 13:49:24 +01:00
Robin Gloster 39172792c6
linuxPackages.cpupower: clean up
fixes the build on 17.09
2018-02-05 12:51:42 +01:00
Rodney Lorrimar 4250f50dc9 electron: 1.7.9 -> 1.7.11
https://github.com/electron/electron/releases/tag/v1.7.10
https://github.com/electron/electron/releases/tag/v1.7.11
2018-02-05 12:31:11 +01:00
Frederik Rietdijk 870e736177 python35: 3.5.4 -> 3.5.5 2018-02-05 11:53:38 +01:00
Frederik Rietdijk 8243d2b96f python34: 3.4.7 -> 3.4.8 2018-02-05 11:53:38 +01:00
Frederik Rietdijk ba34a70086
Merge pull request #33866 from yesbox/fix_newgrp
nixos: sg/newgrp should always be available, not chfn
2018-02-05 10:47:23 +00:00
Frederik Rietdijk 030badc427
Merge pull request #34596 from dotlambda/aioimaplib
python3Packages.aioimaplib: init at 0.7.13
2018-02-05 09:08:05 +00:00
Frederik Rietdijk cdb8debfba
Merge pull request #34491 from turion/signal-1.3.0
signal-desktop: 1.1.0 -> 1.3.0
2018-02-05 09:07:09 +00:00
adisbladis d80057f245
Merge pull request #34601 from markuskowa/mpich2-pr
mpich2: 3.2 -> 3.2.1, update meta data
2018-02-05 13:54:00 +08:00
adisbladis 3adc9897ec
Merge pull request #34598 from markuskowa/freeipmi-pr
freeipmi: 1.5.7 -> 1.6.1
2018-02-05 13:53:43 +08:00
adisbladis c6c06b09d7
Merge pull request #34604 from Moredread/bump/grv
grv: 0.1.0 -> 0.1.1
2018-02-05 13:38:41 +08:00
André-Patrick Bubel f36b17305e
grv: 0.1.0 -> 0.1.1 2018-02-05 04:19:14 +01:00
Michael Raskin 176d94fd8b
Merge pull request #31223 from corngood/matrix-postgres
matrix-synapse: create and connect to local postgresql db
2018-02-05 01:50:05 +00:00
David McFarland e591f11c25 nixos/tests: add matrix-synapse test 2018-02-04 21:22:55 -04:00
David McFarland fbba0d0ee5 matrix-synapse: default server_name to hostname 2018-02-04 21:22:55 -04:00
David McFarland a4b7de74a5 matrix-synapse: default to postgresql on 18.03 2018-02-04 21:22:55 -04:00
David McFarland 1472fa8685 matrix-synapse: create and connect to local postgresql db 2018-02-04 21:22:54 -04:00
Andreas Rammhold 35d83def8f
Merge pull request #34602 from andir/remove-github-cli
pythonPackages.github-cli: removed
2018-02-05 01:07:05 +00:00
Andreas Rammhold b51454eb54
pythonPackages.github-cli: removed since upstream declared project non-functional
also does not work on python3 even thought we provide it there…

Note on the upstream repo [1]:
> IMPORTANT: github-cli does not function anymore since API v2 has been
> replaced by API v3 A possible alternative for github-cli that addresses
> API v3 is Stephen Celis' [ghi](https://github.com/stephencelis/ghi)

[1] https://github.com/jsmits/github-cli
2018-02-05 01:49:42 +01:00
Markus Kowalewski bd80130fd9
mpich2: add maintainer, update license 2018-02-04 15:57:50 -08:00
Markus Kowalewski ff8b077071
mpich2: 3.2 -> 3.2.1 2018-02-04 15:52:29 -08:00
Thomas Tuegel 4688dd0cf5
Merge pull request #34526 from ttuegel/bugfix/plasma-integration/font-style
plasma-integration: Fix font style name bug with Qt >= 5.8
2018-02-04 17:41:50 -06:00
Tuomas Tynkkynen 5d2b4a5dc8 picocom: 3.0 -> 3.1 2018-02-05 01:02:50 +02:00
Robert Schütz 58e467c850 python3Packages.aioimaplib: init at 0.7.13 2018-02-04 22:47:01 +01:00
Robert Schütz 0cef410c08 pythonPackages.imaplib2: init at 2.45.0 2018-02-04 22:28:33 +01:00
Robert Schütz 988bec8774 python3Packages.asynctest: init at 0.11.1 2018-02-04 22:13:11 +01:00
Frederik Rietdijk f0e404b1de
Merge pull request #34591 from womfoo/bump/facter-3.9.3
facter: 3.9.0 -> 3.9.3 and dependency libwhereami: 0.1.1 -> 0.1.3
2018-02-04 20:03:24 +00:00
Jörg Thalheim bfbcc99317
Merge pull request #34549 from gnidorah/way-cooler
way-cooler: 0.6.2 -> 0.8.0
2018-02-04 19:51:57 +00:00
adisbladis 14731b5968
calibre: 3.15.0 -> 3.16.0 2018-02-05 03:46:10 +08:00
adisbladis 2d724b68bf
airsonic: 10.0.1 -> 10.1.1 2018-02-05 03:37:40 +08:00
Thomas Tuegel 77a607aa88
nixos/plasma5: Fix font style names in kdeglobals 2018-02-04 13:31:04 -06:00
Thomas Tuegel d78f9f030b
plasma-integration: Upstream patch for Qt 5.8 font style names
Since Qt 5.8, font style names are handled in a way that prevents alternate
styles (bold, italic, etc.) from being selected for user interface fonts.

See also: https://phabricator.kde.org/D9070
2018-02-04 13:31:04 -06:00
Jan Tojnar 4e2ff7528b
synapse: 0.2.99.2 → 0.2.99.3 2018-02-04 20:14:27 +01:00