In flake.nix I replace buildInputs with packages in the pkgs.mkShell.
Workarounds added:
for devbox global, changed omitNixEnv=false, because its implementation relies on using the nixEnv["buildInputs"] to populate our nix profile. These buildInputs are missing because in the flake.nix I replace buildInputs=[<packages>] with packages=[<packages>]. We can update the implementation if we are formalizing this.
lapp_stack and lepp_stack examples were failing because it was failing to find process-compose. I didn't look into the root cause, but I suspect this can be easily fixed since process-compose is installed natively by Devbox.
Summary
In
flake.nix
I replacebuildInputs
withpackages
in thepkgs.mkShell
.Workarounds added:
for
devbox global
, changedomitNixEnv=false
, because its implementation relies on using thenixEnv["buildInputs"]
to populate ournix profile
. These buildInputs are missing because in the flake.nix I replacebuildInputs=[<packages>]
withpackages=[<packages>]
. We can update the implementation if we are formalizing this.lapp_stack and lepp_stack examples were failing because it was failing to find process-compose. I didn't look into the root cause, but I suspect this can be easily fixed since process-compose is installed natively by Devbox.
How was it tested?