Skip to content

Commit

Permalink
nixos/device-tree: fix package name in examples
Browse files Browse the repository at this point in the history
deviceTree_rpi got renamed to device-tree_rpi a while back, so this updates the examples to reflect that.
  • Loading branch information
Gaelan authored and bjornfor committed May 10, 2020
1 parent 99847a4 commit 4ed7e23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/hardware/device-tree.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ in {
base = mkOption {
default = "${config.boot.kernelPackages.kernel}/dtbs";
defaultText = "\${config.boot.kernelPackages.kernel}/dtbs";
example = literalExample "pkgs.deviceTree_rpi";
example = literalExample "pkgs.device-tree_rpi";
type = types.path;
description = ''
The package containing the base device-tree (.dtb) to boot. Contains
Expand All @@ -30,7 +30,7 @@ in {
overlays = mkOption {
default = [];
example = literalExample
"[\"\${pkgs.deviceTree_rpi.overlays}/w1-gpio.dtbo\"]";
"[\"\${pkgs.device-tree_rpi.overlays}/w1-gpio.dtbo\"]";
type = types.listOf types.path;
description = ''
A path containing device tree overlays (.dtbo) to be applied to all
Expand Down

0 comments on commit 4ed7e23

Please sign in to comment.