git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/device-tree: fix package name in examples

deviceTree_rpi got renamed to device-tree_rpi a while back, so this updates the examples to reflect that.

commit4ed7e2363601d1e0b762c0f8104b27ac64163673 authorGaelan <gbs@canishe.com> dateSun 10 May 2020, 10:41 (7 years ago) parent99847a4
1 file changed+2−2
nixos/modules/hardware/device-tree.nix+2−2
nixos/modules/hardware/device-tree.nix+2−2
@@ -19,7 +19,7 @@ in {
1919 base = mkOption {
2020 default = "${config.boot.kernelPackages.kernel}/dtbs";
2121 defaultText = "\${config.boot.kernelPackages.kernel}/dtbs";
22− example = literalExample "pkgs.deviceTree_rpi";
22+ example = literalExample "pkgs.device-tree_rpi";
2323 type = types.path;
2424 description = ''
2525 The package containing the base device-tree (.dtb) to boot. Contains
@@ -30,7 +30,7 @@ in {
3030 overlays = mkOption {
3131 default = [];
3232 example = literalExample
33− "[\"\${pkgs.deviceTree_rpi.overlays}/w1-gpio.dtbo\"]";
33+ "[\"\${pkgs.device-tree_rpi.overlays}/w1-gpio.dtbo\"]";
3434 type = types.listOf types.path;
3535 description = ''
3636 A path containing device tree overlays (.dtbo) to be applied to all