Commit graph

302184 commits

Author SHA1 Message Date
misuzu 930daac345 nixos/boot: test on aarch64 2021-07-14 12:47:12 +03:00
misuzu 702a1c23a4 nixos/test-driver: allow overriding qemu binary in create_startcommand 2021-07-14 12:47:12 +03:00
misuzu 2668c75886 ipxe: fix installPhase and license 2021-07-14 12:47:12 +03:00
ajs124 a14985cd28 ipxe: allow building on aarch64 2021-07-14 12:47:11 +03:00
Rok Garbas ae7c092d88
Merge pull request #120297 from rsynnest/master
nixos/unifi-video module and supporting packages
2021-07-14 11:45:25 +02:00
Maximilian Bosch b4c4784f7e
Merge pull request #129924 from Ma27/flake-modules-pos
flake/lib.nixosSystem: add `_file`-keys for error-location if needed
2021-07-14 10:29:04 +02:00
Maximilian Bosch e14c245934
flake/lib.nixosSystem: add _file-keys for error-location
When inlining a module with a problematic declaration, you usually get
get a not-so helpful error like this:

    $ cat flake.nix
    {
      description = "A very basic flake";
      inputs.nixpkgs.url = path:../.;
      outputs = { self, nixpkgs }: {
        nixosConfigurations.foo = nixpkgs.lib.nixosSystem {
          system = "x86_64-linux";
          modules = [
            ({ lib, ... }: { services.wrong = 2; })
            { services.nginx.enable = true; }
          ];
        };
      };
    }
    $ nixos-rebuild build --flake .#foo -L
    error: The option `services.wrong' does not exist. Definition values:
           - In `<unknown-file>': 2

While it's certainly possible to guess where this comes from, this is
IMHO fairly confusing for beginners (and kinda reminds me of the
infamous "infinite recursion at undefined position"-error).

The module-system determines the position of a declaration using the
`_file`-key: this is either `toString path` if `path` is e.g. a value
from `imports = [ ./foo.nix ]` or the file used as `NIXOS_CONFIG` in
`<nixpkgs/nixos>`.

However such a mechanism doesn't exist (yet) for inlined flake modules,
so I tried to implement this in a fairly basic way:

* For non-path declarations, the position of `modules` inside the
  `flake.nix` which declares these modules is determined by doing
  `unsafeGetAttrPos` on the `modules`-argument of `lib.nixosSystem`.

  So the `flake.nix` from above would now raise the following
  error-message:

        $ nixos-rebuild build --flake .#foo -L
        error: The option `services.wrong' does not exist. Definition values:
               - In `/nix/store/4vi3nhqjyma73ygs4f93q38qjkhkaxw8-source/flake.nix': 2

Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
Co-authored-by: Silvan Mosberger <github@infinisil.com>
Co-authored-by: Robert Hensing <robert@roberthensing.nl>
2021-07-14 10:12:57 +02:00
FliegendeWurst 6f49212893 spectacle: add deps for annotating screenshots 2021-07-14 09:40:56 +02:00
Abdelhakim Qbaich e1e1f539f0 nvidia-x11: compile nvidia-uvm.ko with HMM support 2021-07-14 00:24:54 -07:00
Domen Kožar 9ea790e2f0
Merge pull request #129427 from NixOS/gha-tarball
GHA: add basic eval checks
2021-07-14 09:10:09 +02:00
Mario Rodas 77898696a8 lxd: 4.15 -> 4.16 2021-07-14 04:20:00 +00:00
Mario Rodas 39682c1109 dqlite: 1.7.0 -> 1.8.0
https://github.com/canonical/dqlite/releases/tag/v1.8.0
2021-07-14 04:20:00 +00:00
zowoq 53caacaf56
Merge pull request #130111 from maxeaubrey/go_1.15.14_1.16.6
go_1_15: 1.15.13 -> 1.15.14, go_1_16: 1.16.5 -> 1.16.6
2021-07-14 13:02:18 +10:00
Ben Siraphob abdd929588
Merge pull request #130146 from SuperSandro2000/git.archlinux.org-move
treewide: convert all links git.archlinux.org to github.com/archlinux…
2021-07-14 09:59:30 +07:00
Peter Hoeg c70dfa0b7b neochat: 1.1.1 -> 1.2 2021-07-14 10:24:28 +08:00
Jan Tojnar 21f3b2b50b
Merge pull request #126558 from zhaofengli/libproxy-optional-js
libproxy: Make JavaScript optional
2021-07-14 03:59:33 +02:00
Jan Tojnar 5fb893f922
Merge pull request #124315 from piegamesde/gnome-extensions
gnomeExtensions: Some more cleanup
2021-07-14 03:56:18 +02:00
Peter Hoeg aab4b6b493 rdiff-backup: 1.3.3 -> 2.0.5 2021-07-14 09:54:12 +08:00
Sandro 0d45160a61
Merge pull request #129912 from pbek/patch-2 2021-07-14 03:46:19 +02:00
Vanilla b7a7969c1a
layan-gtk-theme: init at 2021-06-30 (#130064)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-07-14 03:42:01 +02:00
Sandro cbdfe4eb8a
Merge pull request #129763 from pandaman64/master
build-rust-crate: disable incremental builds
2021-07-14 03:41:06 +02:00
Sandro 2e557d0510
Merge pull request #130147 from mikepurvis/patch-1 2021-07-14 03:38:41 +02:00
upkeep-bot 4d581620e2 vscodium: 1.58.0 -> 1.58.1 2021-07-14 10:37:37 +09:00
Sandro Jäckel 388a4ef423
treewide: convert all links git.archlinux.org to github.com/archlinux/svntogit-* 2021-07-14 03:35:21 +02:00
piegames 3c85c0c975 gnomeExtensions.appindicator: Remove manual packaging 2021-07-14 03:35:12 +02:00
piegames e7d7df799f gnomeExtensions.dynamic-panel-transparency: Remove manual packaging 2021-07-14 03:35:12 +02:00
piegames 1d1a498111 gnomeExtensions.clipboard-indicator: Remove manual packaging 2021-07-14 03:35:12 +02:00
piegames 1149365fd0 gnomeExtensions.disable-unredirect: Remove manual packaging 2021-07-14 03:35:12 +02:00
piegames 2e0ffbe754 gnomeExtensions.draw-on-your-screen: Remove manual packaging 2021-07-14 03:35:12 +02:00
piegames a4d668bc07 gnomeExtensions: Remove gtile
It was never actually referenced anywhere, so technically it was never packaged …
2021-07-14 03:35:12 +02:00
piegames 8dd6024493 gnomeExtensions.hot-edge: Remove manual packaging 2021-07-14 03:35:12 +02:00
piegames 9dcb9aecc1 gnomeExtensions.material-shell: Remove manual packaging 2021-07-14 03:35:11 +02:00
piegames ee5b47ecc2 gnomeExtensions.mpris-indicator-button: Remove manual packaging 2021-07-14 03:35:11 +02:00
piegames 33cf6530fe gnomeExtensions.noannoyance: Remove manual packaging 2021-07-14 03:35:11 +02:00
piegames c5aa58a015 gnomeExtensions.timepp: Remove manual packaging 2021-07-14 03:35:11 +02:00
piegames ba3562ed09 gnomeExtensions.window-is-ready-remover: Remove manual packaging 2021-07-14 03:35:11 +02:00
piegames 5128ec5f06 gnomeExtensions.workspace-matrix: Remove manual packaging 2021-07-14 03:35:11 +02:00
piegames bffbf4617a gnomeExtensions: integrate manually packaged extensions better with the others
Their keys are now not used directly. Instead, we go the standard route of mapping to the
UUID in order to apply the rename procedure. This makes sure the manual override always does
the correct thing, and also gives us more consistency overall.
2021-07-14 03:35:11 +02:00
Sandro 9194898491
Merge pull request #130128 from mvnetbiz/kfctl
kfctl: init at 1.2.0
2021-07-14 03:29:35 +02:00
Sandro 26aaff44cc
Merge pull request #130013 from superherointj/package-linkerd_edge-21.7.2 2021-07-14 03:28:56 +02:00
Jeremy Kolb f96ee10c88
open-vm-tools: 11.2.5 -> 11.3.0 (#129978)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-07-14 03:26:58 +02:00
Sandro e85e671dee
Merge pull request #130001 from ymarkus/bookstack 2021-07-14 03:26:34 +02:00
piegames 6aae2894ef gnomeExtensions: rename uuid field to extensionUuid 2021-07-14 03:23:36 +02:00
piegames 48db86f42c gnomeExtensions: Remove remove-dropdown-arrows 2021-07-14 03:23:36 +02:00
Zhaofeng Li 0f236088ee libproxy: Make JavaScript optional 2021-07-13 18:22:41 -07:00
Mike Purvis b312fdc626
orocos-kdl: 1.5.0 propagation fix 2021-07-13 21:17:46 -04:00
Sandro 088c406cd7
Merge pull request #129914 from malte-v/n2n 2021-07-14 03:14:06 +02:00
edef 1630eccc5f
Merge pull request #128062 from deviant/git-shell-path
git: add shellPath passthru
2021-07-14 01:10:13 +00:00
Danil dfe4ec8f17
vk-cli: init at 0.7.6 (#128906)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-07-14 03:08:24 +02:00
Danil 4b04945c63
yandex-browser: init at 21.5.3.753-1 (#128940) 2021-07-14 03:07:55 +02:00