You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[nix] Add DetSys installer behind feature flag (#2303)
## Summary
* Adds detsys installer.
* Puts it behind disabled flag. Add CICD matrix to test.
* Special casing: Handles missing systemd by just skipping it.
## How was it tested?
* Tested `devbox setup nix` in linux docker container.
* Will test in CICD
* Much more testing needed before removing feature flag
fmt.Fprintln(writer, "Nix installed successfully. Devbox is ready to use!")
170
182
returnnil
171
183
}
184
+
185
+
funcisLinuxWithoutSystemd() bool {
186
+
ifbuild.OS() !=build.OSLinux {
187
+
returnfalse
188
+
}
189
+
// My best interpretation of https://github.com/DeterminateSystems/nix-installer/blob/66ad2759a3ecb6da345373e3c413c25303305e25/src/action/common/configure_init_service.rs#L108-L118
0 commit comments