Commit graph

154570 commits

Author SHA1 Message Date
Arian van Putten
0668906e84 nixos/containers: Add regression test for #40355 2018-10-08 10:55:42 +02:00
Arian van Putten
bb31835b1d Revert "Revert "Revert "doc: Update section about imperative containers"""
nixos-container can now execute nix commands again inside the container

This reverts commit 9622cd3b38.
2018-10-05 18:36:56 +02:00
Arian van Putten
3624bb5362 nixos-container: Force container to talk to host nix-daemon
When logging into a container by using
  nixos-container root-login
all nix-related commands in the container would fail, as they
tried to modify the nix db and nix store, which are mounted
read-only in the container.  We want nixos-container to not
try to modify the nix store at all, but instead delegate
any build commands to the nix daemon of the host operating system.

This already works for non-root users inside a nixos-container,
as it doesn't 'own' the nix-store, and thus defaults
to talking to the daemon socket at /nix/var/nix/daemon-socket/,
which is bind-mounted to the host daemon-socket, causing all nix
commands to be delegated to the host.

However, when we are the root user inside the container, we have the
same uid as the nix store owner, eventhough it's not actually
the same root user (due to user namespaces). Nix gets confused,
and is convinced it's running in single-user mode, and tries
to modify the nix store directly instead.

By setting `NIX_REMOTE=daemon` in `/etc/profile`, we force nix
to operate in multi-user mode, so that it will talk to the host
daemon instead, which will modify the nix store for the container.

This fixes #40355
2018-10-05 18:36:47 +02:00
tv
4b613137e4 sec: 2.8.0 -> 2.8.1 (#47857) 2018-10-05 15:32:51 +02:00
R. RyanTM
360054f417 brogue: 1.7.4 -> 1.7.5 (#47830)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/brogue/versions
2018-10-05 15:15:13 +02:00
R. RyanTM
75e4fcf267 containerd: 1.1.2 -> 1.1.4 (#47807)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/containerd/versions
2018-10-05 15:14:50 +02:00
R. RyanTM
b49c4d2b2e eid-mw: 4.4.7 -> 4.4.8 (#47816)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/eid-mw/versions
2018-10-05 15:14:31 +02:00
Orivej Desh
dbc4ee75a2 psi-plus: 1.3.410 -> 1.3.422 2018-10-05 12:08:16 +00:00
Austin Seipp
778dc453b6 perlPackages.CryptEd25519: init at 1.04
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-10-05 06:04:08 -05:00
Austin Seipp
20c7b61963 perlPackages.Mojolicious: 8.01 -> 8.02
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-10-05 06:04:08 -05:00
Justin Humm
bea3f18185 notmuch: use test-database in checkPhase
for running all tests, notmuch requires a database file, which can be
downloaded at https://notmuchmail.org/releases/test-databases/

See test/README in notmuch sources for further info.
2018-10-05 12:36:12 +02:00
Marco Maggesi
eae1bd0958
Merge pull request #47805 from r-ryantm/auto-update/fossil
fossil: 2.6 -> 2.7
2018-10-05 12:32:14 +02:00
Sarah Brofeldt
6540a480b4
Merge pull request #47880 from pacien/patch-6
matrix-synapse: 0.33.5 -> 0.33.6
2018-10-05 10:32:59 +02:00
lewo
8c0d32f8e7
Merge pull request #47693 from nicknovitski/envsubst-init
envsubst: init at 1.1.0
2018-10-05 09:00:33 +02:00
lewo
96ad503163
Merge pull request #47692 from nicknovitski/kubeval-init
kubeval: init at 0.7.3
2018-10-05 08:41:41 +02:00
Gabriel Ebner
e1738bf1a2 whipper: add cddb dependency 2018-10-05 08:22:26 +02:00
Jan Tojnar
89beaef64d
Merge pull request #47786 from r-ryantm/auto-update/ibus-typing-booster
ibus-engines.typing-booster-unwrapped: 2.1.1 -> 2.1.2
2018-10-05 06:46:25 +02:00
Peter Hoeg
78289fc6f8
Merge pull request #47842 from peterhoeg/f/activation
nixos system-activation: support activation scripts run in a user context
2018-10-05 11:22:33 +08:00
Peter Hoeg
be27131c06
Merge pull request #47694 from magnetophon/lsp-plugins
lsp-plugins: init at 1.1.4
2018-10-05 10:43:00 +08:00
Peter Hoeg
c81d370bb9
Merge branch 'master' into f/activation 2018-10-05 10:08:56 +08:00
Peter Hoeg
4dada63a17 plasma5: run kbuildsycoca5 in the user context 2018-10-05 10:06:40 +08:00
Peter Hoeg
8118d6eb2e switch-to-configuration.pl: activate the nixos-activation.service user service 2018-10-05 10:06:40 +08:00
Peter Hoeg
1353ba2678 system-activation: support script fragments to run in a user context 2018-10-05 10:06:40 +08:00
roconnor
8a4a732e99
Merge pull request #47855 from roconnor/bitcoin
Bitcoin: 0.16.3 -> 0.17.0
2018-10-04 21:44:04 -04:00
Russell O'Connor
ef0f1eb33f bitcoin: enable doCheck
Fixes checkPhase for bitcoin-qt.
2018-10-04 21:41:40 -04:00
Jan Tojnar
5cc18c4781
gnome3: remove versionBranch attribute
Standard library now contains stdenv.lib.versions.majorMinor,
which does the same.
2018-10-05 02:17:19 +02:00
John Wiegley
df48060e4c
coqPackages.coq-haskell: Support building with Coq 8.8 2018-10-04 17:13:41 -07:00
Jan Tojnar
9db0207496
gnome3: remove version attribute
It was used by some themes in the past, but it broke them whenever GNOME
was updated, so it should not be used anymore.
2018-10-05 02:07:09 +02:00
Jan Tojnar
959435e835
networkmanager-openvpn: 1.8.4 → 1.8.6 2018-10-05 01:58:53 +02:00
Jörg Thalheim
a1177832af
Merge pull request #47829 from r-ryantm/auto-update/appstream-glib
appstream-glib: 0.7.12 -> 0.7.13
2018-10-05 00:37:37 +01:00
Jörg Thalheim
a363ed1071
Merge pull request #47832 from veprbl/pr/arrow_0.10.0
arrow-cpp: 0.9.0 -> 0.10.0
2018-10-04 23:34:17 +01:00
Jörg Thalheim
5200167f12
Merge pull request #47831 from r-ryantm/auto-update/calc
calc: 2.12.6.6 -> 2.12.6.8
2018-10-04 23:31:38 +01:00
Jörg Thalheim
4d9d685941
Merge pull request #47888 from alexherbo2/grv-typos
GRV: Fix typos in description
2018-10-04 23:26:09 +01:00
Bart Brouns
f14c0b4610 lsp-plugins: init at 1.1.4 2018-10-05 00:24:13 +02:00
Alex Leferry 2
1bb4b16b3b GRV: Fix typos in description 2018-10-04 23:50:15 +02:00
Timo Kaufmann
11068c62a5
Merge pull request #47659 from nyanloutre/emby-3.5.3.0
emby: 3.5.2.0 -> 3.5.3.0, migrate from mono to dotnet
2018-10-04 23:08:26 +02:00
Nick Novitski
78b9ab0713 kubeval: init at 0.7.3 2018-10-04 13:52:45 -07:00
zimbatm
d4ff6cae34
terraform: add plugins tests (#47861)
I wasn't sure if the plugins were downloaded from the Internet or not.
This makes sure that there is no regression in the plugin detection.
2018-10-04 22:41:19 +02:00
Michael Raskin
bc46aa9dd2
Merge pull request #47826 from r-ryantm/auto-update/cgal
cgal: 4.12.1 -> 4.13
2018-10-04 20:26:06 +00:00
Yegor Timoshenko
ca45028055
Merge pull request #47870 from dtzWill/update/libinput-0.12.1
libinput: 0.12.0 -> 0.12.1
2018-10-04 20:25:21 +00:00
Yegor Timoshenko
9d27fb9b56
Merge pull request #47879 from avnik/wine-update
Wine update
2018-10-04 20:08:49 +00:00
R. RyanTM
07ace1d24e kubernetes-helm: 2.10.0 -> 2.11.0
* kubernetes-helm: 2.10.0 -> 2.11.0

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/helm/versions

* kubernetes-helm: 2.10.0 -> 2.11.0 (fix darwin hash)
2018-10-04 21:44:03 +02:00
Jörg Thalheim
c9717dd29e
Merge pull request #47852 from r-ryantm/auto-update/bzflag
bzflag: 2.4.14 -> 2.4.16
2018-10-04 20:22:04 +01:00
Jörg Thalheim
a24cf5c4f7
Merge pull request #47845 from r-ryantm/auto-update/bowtie2
bowtie2: 2.3.4.2 -> 2.3.4.3
2018-10-04 20:19:35 +01:00
Jörg Thalheim
429b3ce810
Merge pull request #47841 from dtzWill/update/tetra-gtk-theme-0.2.0
tetra-gtk-theme: 0.1.6 -> 0.2.0
2018-10-04 20:19:19 +01:00
Jörg Thalheim
2023ac5a73
Merge pull request #47843 from r-ryantm/auto-update/check_ssl_cert
checkSSLCert: 1.72.0 -> 1.73.0
2018-10-04 20:18:55 +01:00
Jörg Thalheim
023b006630
Merge pull request #47850 from r-ryantm/auto-update/babeld
babeld: 1.8.2 -> 1.8.3
2018-10-04 20:17:14 +01:00
Jörg Thalheim
b0b73aaf26
Merge pull request #47848 from r-ryantm/auto-update/arangodb
arangodb: 3.3.15 -> 3.3.16
2018-10-04 20:16:09 +01:00
Jörg Thalheim
4e180fda97
Merge pull request #47849 from r-ryantm/auto-update/bfs
bfs: 1.2.3 -> 1.2.4
2018-10-04 20:14:58 +01:00
Jörg Thalheim
1ef0711ca9
Merge pull request #47882 from dywedir/iwd
iwd: 0.8 -> 0.9
2018-10-04 20:12:38 +01:00