mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
chromium: Use new channel based sources.
Switch to channel based sources and default to the "stable" channel.
This commit is contained in:
parent
a65ba9e083
commit
f6e063e7fc
@ -26,6 +26,7 @@ let
|
||||
mkConfigurable = stdenv.lib.mapAttrs (flag: default: getConfig ["chromium" flag] default);
|
||||
|
||||
config = mkConfigurable {
|
||||
channel = "stable";
|
||||
selinux = false;
|
||||
nacl = false;
|
||||
openssl = true;
|
||||
@ -36,7 +37,7 @@ let
|
||||
pulseaudio = getConfig ["pulseaudio"] true;
|
||||
};
|
||||
|
||||
sourceInfo = import ./source.nix;
|
||||
sourceInfo = builtins.getAttr config.channel (import ./sources.nix);
|
||||
|
||||
mkGypFlags = with stdenv.lib; let
|
||||
sanitize = value:
|
||||
|
Loading…
Reference in New Issue
Block a user