Bottles: Difference between revisions

fix typo
add statements and link regarding a warning at first start of bottles
 
Line 7: Line 7:
environment.systemPackages = with pkgs; [
environment.systemPackages = with pkgs; [
   bottles
   bottles
];
</syntaxhighlight>You will get a warning that bottles is only supported in sandboxed environments at first start of bottles. To get rid of this warning, use the code below instead. For reasoning and explanation see [https://github.com/NixOS/nixpkgs/issues/384555 this GitHub issue].<syntaxhighlight lang="nix">
environment.systemPackages = with pkgs; [
  (bottles.override { removeWarningPopup = true; })
];
];
</syntaxhighlight>
</syntaxhighlight>