3
0
Fork 0
forked from mirrors/nixpkgs

parallels: add package config option

allows overriding of package with newer versions
This commit is contained in:
Luke Adams 2018-03-01 17:06:43 -06:00
parent ae7fae71ed
commit 52747120c1

View file

@ -3,9 +3,7 @@
with lib;
let
prl-tools = config.boot.kernelPackages.prl-tools;
prl-tools = config.hardware.parallels.package;
in
{
@ -32,6 +30,16 @@ in
disable this to manually mount shares.
'';
};
package = mkOption {
type = types.package;
default = config.boot.kernelPackages.prl-tools;
defaultText = "config.boot.kernelPackages.prl-tools";
example = literalExample "config.boot.kernelPackages.prl-tools";
description = ''
Defines which package to use for prl-tools. Override to change the version.
'';
};
};
};