-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Comparing changes
Open a pull request
base repository: NixOS/nixpkgs
base: d39dd4039d27
head repository: NixOS/nixpkgs
compare: 6217686df59b
- 6 commits
- 3 files changed
- 1 contributor
Commits on Dec 30, 2016
-
nixos/storage: Set clear if initlabel is true
This is just the functionality of what's already documented in the description of initlabel. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Configuration menu - View commit details
-
Copy full SHA for 51f85bd - Browse repository at this point
Copy the full SHA 51f85bdView commit details
Commits on Dec 31, 2016
-
nixos/storage: Flesh out checking of device specs
Every device specification is in the form "<type>.<name>" and so far the type for referencing a specific device has been a plain types.str. Now we're not only checking whether the device specification is a string but also whether its syntax is correct and the type actually exists and is valid for a particular option. We now have a deviceTypes attribute set which is our main definition for all available device specifications and it also categorizes them with attributes like "resizable" or "orderable" which add the corresponding options to the option set of the device specification submodule. What's still missing are assertions on whether the actual name references a device which actually has been defined. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Configuration menu - View commit details
-
Copy full SHA for 25fd47c - Browse repository at this point
Copy the full SHA 25fd47cView commit details -
nixos: Move {fileSystems,swapDevices}.storage
I initially had these options in the storage module before actually adding them to <nixpkgs>. Now it's time to put them back into the storage module so that we have everything that's related to the module in one place, so that we can do even more comprehensive type checking. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Configuration menu - View commit details
-
Copy full SHA for cd71d31 - Browse repository at this point
Copy the full SHA cd71d31View commit details -
nixos/storage: Add sizes to sizeUnit descriptions
The sizes relative to the corresponding smaller units. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Configuration menu - View commit details
-
Copy full SHA for 00e5ecf - Browse repository at this point
Copy the full SHA 00e5ecfView commit details -
nixos/storage: Validate device specification names
Whenever a device specification is cross-referenced we need to check whether a definition for the exists. So for example if we have: storage.mdraid.raid.devices = [ "partition.raid1" "partition.raid2" ]; We need to make sure here that storage.partition.raid1 and storage.partition.raid2 are actually defined. Of course we could check this within nixpart as well, but we want to avoid such errors at run time. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Configuration menu - View commit details
-
Copy full SHA for 0fdc325 - Browse repository at this point
Copy the full SHA 0fdc325View commit details -
nixos/storage: Gracefully handle storage.btrfs
This is an exception to the container types (isContainer in deviceTypes) in that we *only* allow fsType to be "btrfs" for btrfs subvolumes. If this is set to something else than "btrfs", throw an assertion error printing the conflicting options. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Configuration menu - View commit details
-
Copy full SHA for 6217686 - Browse repository at this point
Copy the full SHA 6217686View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff d39dd4039d27...6217686df59b