apptainer, singularity: avoid list absorption when appended by two more ++

+15 -9
+15 -9
pkgs/applications/virtualization/singularity/generic.nix
··· 142 142 # apptainer/apptainer: https://github.com/apptainer/apptainer/blob/main/dist/debian/control 143 143 # sylabs/singularity: https://github.com/sylabs/singularity/blob/main/debian/control 144 144 145 - buildInputs = [ 146 - bash # To patch /bin/sh shebangs. 147 - conmon 148 - cryptsetup 149 - gpgme 150 - libuuid 151 - openssl 152 - squashfsTools # Required at build time by SingularityCE 153 - ] ++ lib.optional enableNvidiaContainerCli nvidia-docker ++ lib.optional enableSeccomp libseccomp; 145 + buildInputs = 146 + [ 147 + bash # To patch /bin/sh shebangs. 148 + conmon 149 + cryptsetup 150 + gpgme 151 + libuuid 152 + openssl 153 + squashfsTools # Required at build time by SingularityCE 154 + ] 155 + # Optional dependencies. 156 + # Formatting: Optional dependencies are likely to increase. 157 + # Don't squash them into the same line. 158 + ++ lib.optional enableNvidiaContainerCli nvidia-docker 159 + ++ lib.optional enableSeccomp libseccomp; 154 160 155 161 configureScript = "./mconfig"; 156 162