chromium: only enable for the linux platform

This commit is contained in:
Robert Helgesson 2018-08-20 07:05:23 +02:00
parent dd25fbcb4b
commit 6630cfbe16
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 4 additions and 2 deletions

View file

@ -753,6 +753,7 @@ in
{ {
time = "2018-08-19T20:46:09+00:00"; time = "2018-08-19T20:46:09+00:00";
condition = pkgs.stdenv.isLinux;
message = '' message = ''
A new modules is available: 'programs.chromium'. A new modules is available: 'programs.chromium'.
''; '';

View file

@ -28,7 +28,6 @@ let
./programs/bash.nix ./programs/bash.nix
./programs/beets.nix ./programs/beets.nix
./programs/browserpass.nix ./programs/browserpass.nix
./programs/chromium.nix
./programs/command-not-found/command-not-found.nix ./programs/command-not-found/command-not-found.nix
./programs/direnv.nix ./programs/direnv.nix
./programs/eclipse.nix ./programs/eclipse.nix
@ -93,7 +92,9 @@ let
<nixpkgs/nixos/modules/misc/assertions.nix> <nixpkgs/nixos/modules/misc/assertions.nix>
<nixpkgs/nixos/modules/misc/lib.nix> <nixpkgs/nixos/modules/misc/lib.nix>
<nixpkgs/nixos/modules/misc/meta.nix> <nixpkgs/nixos/modules/misc/meta.nix>
]; ]
++
optional pkgs.stdenv.isLinux ./programs/chromium.nix;
pkgsModule = { pkgsModule = {
options.nixosSubmodule = mkOption { options.nixosSubmodule = mkOption {