diff options
| author | Val Packett <val@invisiblethingslab.com> | 2025-09-16 23:56:57 -0300 |
|---|---|---|
| committer | Val Packett <val@invisiblethingslab.com> | 2025-09-18 18:59:45 -0300 |
| commit | 313fa9dc99b2839cfee4dd2bcc6ce3e621466901 (patch) | |
| tree | 4414a72ae50f6751295772b95169c3c2dbeb7310 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 963c59e0dd75758c82b5ec7919150fe063445b38 (diff) | |
nixos/top-level: fix cutoffPackages without initialRamdisk
In systems without initrd (e.g. containers) that also use system.replaceDependencies, we'd get:
error: attribute 'initialRamdisk' missing
at /nix/store/8vfhnwmmzqqzy97q9c5m4bzyaqqf63zy-source/nixos/modules/system/activation/top-level.nix:286:21:
285| cutoffPackages = mkOption {
286| default = [ config.system.build.initialRamdisk ];
| ^
Make that initialRamdisk reference conditional on the initrd being enabled.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
