summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorr-vdp <ramses@well-founded.dev>2024-12-03 11:35:02 +0100
committerr-vdp <ramses@well-founded.dev>2024-12-03 11:45:42 +0100
commit9226d4e9ee551ff7db365937949711ccd96611b4 (patch)
treea2a48e8656c9f2963519397afe7b3bf00ddd1780 /pkgs/development/python-modules/rangehttpserver
parent512859412f2624b12b99f76ed7750f8afa773cc3 (diff)
nixos/filesystems: don't silently ignore label when device is set
Before this change, when both device and label were set, the label would be silently ignored. This is especially problematic when the device is set in another module, and it's not immediately obvious why the label is not having any effect. Additionally, some other modules use the device option to get the device of a filesystem, but this option is not populated when only the label is set, causing those modules to conclude that the filesystem does not have a backing device. With this change, we populate the device option using the label when the label is set. This means that we get a clear error message when both the device and label are set, and that the device is properly populated whenever the label is used to specify the backing device.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions