Commit Graph
100 Commits
Author SHA1 Message Date
Eelco Dolstra 52e739cc58 nix-daemon.nix: Fix checkConfig 2019-10-23 21:30:28 +02:00
Eelco Dolstra fc2592b2d6 nixFlakes: 2.4pre20190922_382aa05 -> 2.4pre20191022_9cac895 2019-10-23 00:24:25 +02:00
Eelco Dolstra e89e0385c1 nlohmann_json: 3.6.1 -> 3.7.0
Also install multiple headers (in particular to get json_fwd.hpp,
which Nix needs).
2019-10-23 00:24:25 +02:00
Eelco Dolstra 5b324c1825 Remove references to the nixpkgs-channels repo
Channel branches are now provided in the nixpkgs repo.

Issue #71176.
2019-10-17 19:44:03 +02:00
Eelco Dolstra 328796d734 makeInitrd: Use stdenvNoCC 2019-10-11 17:12:09 +02:00
Eelco Dolstra cae6db88d3 nukeReferences: Use stdenvNoCC 2019-10-11 17:12:09 +02:00
Eelco Dolstra e8bc181154 Merge pull request #70874 from edolstra/no-world-writable-per-user
[WIP] Don't create /nix/var/nix/{gcroots,per-user}/per-user with 1777 permission
2019-10-10 16:28:49 +02:00
Eelco Dolstra 9d0de0dc57 nix-daemon.nix: Shut up warning 2019-10-10 16:24:33 +02:00
Eelco Dolstra 27d2857a99 nix-daemon.nix: Use 'nix ping-store' to initialize directories 2019-10-10 16:24:33 +02:00
Eelco Dolstra 2c97f0669d Typo 2019-10-10 16:24:33 +02:00
Eelco Dolstra 4b950c42cd nix-daemon.nix: Drop Nix 1.x compatibility
Probably didn't work anyway anymore.
2019-10-10 16:24:33 +02:00
Eelco Dolstra 4e0d6a5ff8 Don't create /nix/var/nix/{gcroots,per-user}/per-user with 1777 permission
In fact, don't create them at all because Nix does that automatically.

Also remove modules/programs/shell.nix because everything it did is
now done automatically by Nix.
2019-10-10 16:24:33 +02:00
Eelco Dolstra 3ab3614e2b nix: 2.3 -> 2.3.1 2019-10-10 16:23:33 +02:00
Eelco Dolstra b407822b85 locate.nix: Don't create /var/cache
Fixes

  setting up tmpfiles
  [/etc/tmpfiles.d/var.conf:19] Duplicate line for path "/var/cache", ignoring.
2019-10-08 21:45:42 +02:00
Eelco Dolstra 72531b1806 Merge pull request #70683 from dtzWill/fix/systemd-refs-to-sbin-modprobe
systemd: fix /sbin/modprobe usage in logind, nspawn@ service files
2019-10-08 11:12:25 +02:00
Eelco Dolstra 37c22b9d30 Revive systemd.coredump.enable 2019-10-07 20:28:13 +02:00
Eelco Dolstra 39c0e489d3 Revert "make-disk-image: replace nixos-install by nix-env calls"
This reverts commit e9bf955fd6. We use
nixos-install to ensure that make-disk-image produces the same result
as a regular installation (9802da517f)
and to reduce code duplication. If there is something broken in
nixos-install, it should be fixed there.
2019-10-07 17:21:28 +02:00
Eelco Dolstra ff8ca925b1 Merge pull request #70317 from alyssais/perl-install
Revert "perl-modules: do not create perllocal.pod, for determinism"
2019-10-07 13:26:25 +02:00
Eelco Dolstra 1be54bd0ad Merge pull request #69534 from edolstra/rustc-1.38.0
rustc: 1.37.0 -> 1.38.0
2019-09-30 12:58:25 +02:00
Eelco Dolstra 9c0968fd81 rustc: 1.37.0 -> 1.38.0 2019-09-26 16:34:48 +02:00
Eelco Dolstra adb15c3a63 Revert "rustc: Provide compiler-rt sources"
This reverts commit b7a8280312. It's no
longer needed with Rust 1.38.
2019-09-26 14:50:07 +02:00
Eelco Dolstra c8bc18bcc2 awscli: Get rid of runtime -dev dependencies 2019-09-23 19:24:05 +02:00
Eelco Dolstra 760bcf678e libotr: Use multiple outputs 2019-09-23 19:23:25 +02:00
Eelco Dolstra 711cbb9117 rtl8812au, rtl8821au: Prevent runtime dependency on kernel.dev 2019-09-23 19:23:21 +02:00
Eelco Dolstra 38bb1c373f Merge pull request #69295 from mayflower/fix/pick-more-systemd-tmpfiles-examples
nixos/systemd: pick more upstream tmpfiles confs
2019-09-23 15:33:53 +02:00
Eelco Dolstra 13beb8d753 firefox: Use default icu 2019-09-23 09:55:57 +02:00
Eelco Dolstra 8109be4859 nixFlakes: 2.4pre20190913_a25c022 -> 2.4pre20190922_382aa05 2019-09-22 22:01:56 +02:00
Eelco Dolstra d8e35fdbf9 vista-fonts: Use new download location 2019-09-19 22:38:31 +02:00
Eelco Dolstra b0ccd6dd16 Revert "nixos/doc: re-format"
This reverts commit ea6e8775bd. The new
format is not an improvement.
2019-09-19 19:17:30 +02:00
Eelco Dolstra 387a2f27ec Merge pull request #68906 from edolstra/revert-interface-version
Revert systemd interface version to 2
2019-09-19 14:09:18 +02:00
Eelco Dolstra b20a0e49c8 Revert systemd interface version to 2
The new systemd in 19.09 gives an "Access Denied" error when doing
"systemctl daemon-reexec" on an 19.03 system. The fix is to use the
previous systemctl to signal the daemon to re-exec itself. This
ensures that users don't have to reboot when upgrading from NixOS
19.03 to 19.09.
2019-09-16 16:51:19 +02:00
Eelco Dolstra b9ed9c7fed Typo 2019-09-16 16:50:39 +02:00
Eelco Dolstra 054f01ee1b man-nixos-rebuild.xml: Improve layout 2019-09-16 14:42:59 +02:00
Eelco Dolstra b9e81b2138 nixFlakes: 2.3pre20190830_04np4n6 -> 2.4pre20190913_a25c022 2019-09-13 20:13:14 +02:00
Eelco Dolstra 404caba16b Merge pull request #66775 from Izorkin/qemu
qemu: 4.0.0 -> 4.1.0
2019-09-09 17:36:36 +02:00
Eelco Dolstra 37e333af9a nix: 2.2.2 -> 2.3 2019-09-04 21:36:49 +02:00
Eelco Dolstra 68801b40d6 Merge pull request #62042 from thefloweringash/aarch64-ami
Amazon Images for Aarch64
2019-09-04 18:00:47 +02:00
Eelco Dolstra 4388f7709a nixFlakes: 2.3pre20190829_ebc4dae -> 2.3pre20190830_04np4n6 2019-08-30 20:00:16 +02:00
Eelco Dolstra ebce65658f nix: Reduce closure size by 48 MiB 2019-08-30 19:35:04 +02:00
Eelco Dolstra e6ab68ba1f Merge pull request #67718 from eadwu/nixUnstable/2.3pre6779_31f5ecf
nix{Flakes,Unstable}/update-1
2019-08-30 15:42:50 +02:00
Eelco Dolstra 35c1c170d7 nix.conf: Set sandbox-fallback = false
For security, we don't want the sandbox to be disabled silently.
2019-08-27 21:17:20 +02:00
Eelco Dolstra 4fed2b0147 Merge pull request #66739 from dtzWill/update/readline-8.0p1
readline80: 8.0p0 -> 8.0p1
2019-08-17 16:24:18 +02:00
Eelco Dolstra 1f3c2bcefe Merge pull request #66686 from edolstra/rustc-1.37.0
rustc: 1.36.0 -> 1.37.0
2019-08-17 16:22:42 +02:00
Eelco Dolstra b7a8280312 rustc: Provide compiler-rt sources
This is needed to build libprofiler_builtins now.

https://github.com/rust-lang/rust/commit/e59f0cc0d33f3098a883661227c0c14def403cfd#diff-daf9539767b10f18e1517f65cdc2e0e2
https://github.com/rust-lang-nursery/compiler-builtins/issues/295
2019-08-16 15:08:12 +02:00
Eelco Dolstra a4fc84de44 rustc: 1.36.0 -> 1.37.0 2019-08-16 14:10:13 +02:00
Eelco Dolstra 96ec1bc7b7 Merge pull request #66681 from basvandijk/init-rust-clippy
rustPackages.clippy: init at rust-1.36.0
2019-08-16 14:07:17 +02:00
Eelco Dolstra 7706f36d0d rustc: Enable profiling support
This matches the upstream binary releases (see
https://github.com/rust-lang/rust/blob/beta/src/ci/docker/x86_64-gnu/Dockerfile).

Upstream also enables sanitizer support but that adds another 39 MiB
to the package size, and who needs sanitizers in Rust anyway ;-)
2019-07-31 22:47:28 +02:00
Eelco Dolstra 57adfbd3d4 rustc: Drop RUSTC_BOOTSTRAP
It's no longer needed.
2019-07-31 22:47:28 +02:00
Eelco Dolstra 4914a82186 Merge pull request #65083 from basvandijk/fix-composability-of-sourceByRegex
lib: allow sourceByRegex to be composed after cleanSourceWith
2019-07-25 19:29:44 +02:00
Eelco Dolstra 31c38894c9 nixFlakes: 2.3pre20190612_06010ea -> 2.3pre20190712_aa82f8b 2019-07-15 16:19:30 +02:00
Eelco Dolstra b1375da4d0 Merge pull request #64414 from edolstra/rust-1.36
Rust 1.36
2019-07-13 12:22:37 +02:00
Eelco Dolstra 267c8d6b2f fetchurl (and derived functions): Support SRI hashes
E.g.

  fetchFromGitHub {
    owner = "NixOS";
    repo = "nix";
    rev = "ad42a784690449873fccb20192bd2150da81c56d";
    hash = "sha256-ZXeadXUJMXV5lSLz6TOBeL/SSOVwQ8ywxU5AFMCnbRU=";
  }
2019-07-11 15:52:35 +02:00
Eelco Dolstra 33723434a8 rustc: Add setup hook to set $CARGO_HOME
This works around 'failed to open:
/homeless-shelter/.cargo/.package-cache' with Rust 1.36 even when
we're using 'cargo --frozen'.
2019-07-07 15:18:09 +02:00
Eelco Dolstra 2c0a6e1ea0 rustc: 1.35.0 -> 1.36.0 2019-07-07 15:18:09 +02:00
Eelco Dolstra 3a0b18054f rustfmt: 1.2.1 -> 1.2.2 2019-07-03 08:52:27 +02:00
Eelco Dolstra 513bd49b44 rustc: 1.34.2 -> 1.35.0 2019-07-03 08:52:27 +02:00
Eelco Dolstra 84708a8013 Merge pull request #64101 from r-ryantm/auto-update/opensubdiv
opensubdiv: 3.3.3 -> 3.4.0
2019-07-02 11:16:46 +02:00
Eelco Dolstra fdf2700c32 Merge pull request #63849 from Izorkin/nixUnstable
nixUnstable: pre6631_e58a7144 -> pre6631_324a5dc9
2019-06-27 12:28:38 +02:00
Eelco Dolstra 8e620e1bc5 Merge pull request #63810 from NixOS/binaryCaches-default
nix.binaryCaches: always set https://cache.nixos.org
2019-06-26 18:51:17 +02:00
Eelco Dolstra aef7f1b31a Typo 2019-06-25 14:46:04 +02:00
Eelco Dolstra 7eb332af5d Remove default value for nixpkgs.system
Using "builtins.currentSystem" doesn't work in pure evaluation mode,
and even when it's explicitly set (which it always is, in
nixos/lib/eval-config.nix), it breaks manual generation because the
manual tries to render the default value.
2019-06-19 14:07:45 +02:00
Eelco Dolstra da5fc5c985 release-small.nix: Don't depend on currentSystem 2019-06-19 14:07:37 +02:00
Eelco Dolstra abd51d042c nix: Add nixFlakes attribute for the flake branch 2019-06-12 18:23:19 +02:00
Eelco Dolstra 734b3e7758 Merge pull request #62966 from bjornfor/nixos-generate-config-bcache
nixos-generate-config: add support for bcache
2019-06-12 10:06:17 +02:00
Eelco Dolstra 4bb48e7f99 wireguard: Don't fail if modprobe fails
This can lead to unnecessary failures if the kernel module is already
loaded:

  Jun 06 12:38:50 chef bglisn9bz0y5403vdw9hny0ij43r41jk-unit-script-wireguard-wg0-start[13261]: modprobe: FATAL: Module wireguard not found in directory /run/booted-system/kernel-modules/lib/modules/4.19.36
2019-06-06 12:40:30 +02:00
Eelco Dolstra 71bc5e2d64 Merge pull request #62022 from bhipple/fix/sqlite-parallel
sqlite: enable parallel builds
2019-05-27 13:24:02 +02:00
Eelco Dolstra 954a342d04 Merge pull request #61545 from jhaasdijk/gdb-8.3
gdb: 8.2.1 -> 8.3
2019-05-20 13:20:18 +02:00
Eelco Dolstra ab1ac905b4 libjpeg-turbo: 2.0.1 -> 2.0.2 2019-05-16 08:25:41 +02:00
Eelco Dolstra de9e238469 FIx some malformed XML in option descriptions
E.g. these were using "<para>" at the *end* of a description. The real
WTF is that this is possible at all...
2019-05-13 09:15:17 +02:00
Eelco Dolstra 84a51650b9 Merge pull request #61134 from c0bw3b/pkg/subversion
subversion: drop 1.8 / 1.9.9 -> 1.9.10 / 1.11.1 -> 1.12.0
2019-05-08 13:48:04 +02:00
Eelco Dolstra b938921899 Merge pull request #61131 from andir/firefox
firefox: 66.0.4 -> 66.0.5, firefox-bin: 66.0.4 -> 66.0.5,  firefox-beta-bin: 67.0b17 -> 670b18
2019-05-08 13:08:44 +02:00
Eelco Dolstra f7d3fb876a Merge pull request #60860 from vcunat/p/gcc9
gcc9: init at 9.1.0 (released today)
2019-05-07 23:58:47 +02:00
Eelco Dolstra 1f6ddfc7e0 firefox: 66.0.3 -> 66.0.4 2019-05-05 23:57:54 +02:00
Eelco Dolstra 36587a587a Fix release.nix
'jobs.tests' no longer exists.
2019-04-29 10:07:20 +02:00
Eelco Dolstra 3b04bc7be5 Revert "Revert "all-packages.nix: Don't recurse into 'tests'", fix eval release.nix"
This reverts commit 8c80a29a75.
2019-04-29 09:47:21 +02:00
Eelco Dolstra 014c26d75b all-packages.nix: Don't recurse into 'tests'
Doing so significantly slows down 'nix-env -qa' (4.30s vs 5.17s),
mostly because it seems to do a NixOS system evaluation.

This attribute should probably be removed entirely since tests should
be in release.nix, not pollute nix-env's package set.
2019-04-27 21:58:33 +02:00
Eelco Dolstra 2a95530c85 Merge pull request #59864 from AmineChikhaoui/ec2-19.03-amis
ec2-amis.nix: add 19.03 amis
2019-04-19 10:38:02 +02:00
Eelco Dolstra dd9192c55c youtube-dl: 2019.04.07 -> 2019.04.17 2019-04-17 22:11:01 +02:00
Eelco Dolstra 8ac7316db6 chatzilla: Remove
Chatzilla no longer works since Firefox 57 due to the removal of XUL.
2019-04-17 21:47:42 +02:00
Eelco Dolstra 5399f34ad9 nix: 2.2 -> 2.2.2 2019-04-15 19:06:57 +02:00
Eelco Dolstra 9f5ba91c7a Merge pull request #59369 from Ekleog/unique-fix
lib: improve the implementation of the unique function
2019-04-15 14:16:39 +02:00
Eelco Dolstra 6d61a0b312 Merge pull request #56566 from lblasc/rust133
rust: 1.32.0 -> 1.33.0
2019-03-01 09:10:56 +01:00
Eelco Dolstra a4c9e42e5c Merge pull request #55600 from dtzWill/update/dhcpcd-7.1.1
dhcpcd: 7.0.8 -> 7.1.1
2019-02-12 13:32:10 +01:00
Eelco Dolstra 7f32b3db30 Merge pull request #55153 from dtzWill/update/libpqxx-6.3.0
libpqxx: 6.2.5 -> 6.3.1
2019-02-12 13:31:41 +01:00
Eelco Dolstra c7811781be Merge pull request #55581 from deliciouslytyped/patch-1
Document undocumented argument to makeWrapper()
2019-02-11 22:43:23 +01:00
Eelco Dolstra 07208e7a0b nixos-generate-config: Don't suggest setting a uid
This hasn't been needed for a long time, even when `mutableUsers =
false`. Setting a uid manually is potentially risky since it could
collide with non-declarative user accounts. (We do check for
collisions between declarative accounts.)
2019-02-11 10:49:25 +01:00
Eelco Dolstra 016c4c9c82 rustfmt: 1.0.0 -> 1.0.1
(cherry picked from commit 7fff567ee9)
2019-02-08 11:13:09 +01:00
Eelco Dolstra 7fff567ee9 rustfmt: 1.0.0 -> 1.0.1 2019-02-05 12:19:19 +01:00
Eelco Dolstra 56dba36eb5 rustc: 1.31.0 -> 1.32.0 2019-02-05 12:19:15 +01:00
Eelco Dolstra dd5aa1a67d Merge pull request #54626 from FlorianFranzen/bionic
buid-support: Add Ubuntu bionic base images
2019-02-05 10:15:02 +01:00
Eelco Dolstra e3c36178fe Merge pull request #55158 from grahamc/reproducible-perl
perl: make reproducible
2019-02-04 15:32:47 +01:00
Eelco Dolstra 11cf7d6e1f Fix copy-tarballs.pl 2019-01-24 16:01:49 +01:00
Eelco Dolstra 04f025a8d4 cyrus-sasl: Fix broken download site 2019-01-23 10:56:25 +01:00
Eelco Dolstra 5a434d0034 Merge pull request #54047 from r-ryantm/auto-update/subversion-client
subversionClient: 1.11.0 -> 1.11.1
2019-01-16 13:18:28 +01:00
Eelco Dolstra c1a13108e2 nix: Add editline dependency
Also fix incorrect hash for nixUnstable.
2019-01-11 15:05:17 +01:00
Eelco Dolstra ac97ba25ae Revert "libgit2: 0.26.6 → 0.27.7"
This reverts commit cc50638176 because
it breaks cargo (again, see fca4fbeba9):

  $ cargo build
      Updating crates.io index
  Segmentation fault
2019-01-11 14:58:45 +01:00
Eelco Dolstra 94ea1c2d83 nix: 2.1.3 -> 2.2 2019-01-11 12:47:06 +01:00
Eelco Dolstra 6232df2a1e Merge branch 'master' of git://github.com/NixOS/nixpkgs 2019-01-10 16:53:34 +01:00
Eelco Dolstra 79229ca863 rustfmt: 0.99.5 -> 1.0.0
Note: there is a 1.0.1, but it doesn't compile with our stable Rust.
2019-01-10 16:43:43 +01:00
Eelco Dolstra ab33df13ac Merge branch 'rustfmt' of https://github.com/symphorien/nixpkgs 2019-01-10 16:35:11 +01:00