Closed shivaraj-bh closed 3 weeks ago
The check name should not be hardcoded to DetSys. What is the flake config schema for this?
This shouldn’t run on NixOS,
The check would be "skipped" on NixOS.
how do we detect if we are on NixOS?
The installer info should probably be part of NixEnv
itself.
The installer info should probably be part of
NixEnv
itself.
Done in https://github.com/juspay/omnix/pull/213/commits/48a3e89ada788bebf63ed00e5a309610279f4bf7
The check name should not be hardcoded to DetSys.
I have changed it from “DetSys nix-installer” -> “Nix installer used” in the latest commit.
What is the flake config schema for this?
As of now it is:
{
nix-installer = {
enable = true;
required = true;
};
}
As of now the recommended installer and its corresponding version is hard-coded. I am not sure about the exact schema to use to make them configurable.
Shouldn’t this PR also update nix_rs
changelog?
Yes, let's always remember do that as part of the PR itself. Including updating https://omnix.page/history.html
resolves #206
Output when
nix
is not installedInstaller info
Question
This shouldn’t run on NixOS, how do we detect if we are on NixOS?(resolved in https://github.com/juspay/omnix/pull/213/commits/48a3e89ada788bebf63ed00e5a309610279f4bf7)