Jump to content

Translations:Flakes/41/en: Difference between revisions

From Official NixOS Wiki
FuzzyBot (talk | contribs)
Importing a new version from external source
Tags: Mobile edit Mobile web edit
 
FuzzyBot (talk | contribs)
Importing a new version from external source
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
Using curly brackets({}), we can shorten all of this and put it in a table. The code will look something like this:<syntaxhighlight lang="nix">
Using curly brackets({}), we can shorten all of this and put it in a table. The code will look something like this:
inputs = {
  nixpkgs.url = "github:NixOS/nixpkgs/<branch name>";
  hyprland = {
    url = "github:hyprwm/Hyprland";
    inputs.nixpkgs.follows = "nixpkgs";
  };
};
</syntaxhighlight>

Revision as of 12:36, 30 July 2024

Message definition (Flakes)
Using curly brackets (<code>{}</code>), we can shorten all of this and put it in a table. The code will look something like this:

Using curly brackets({}), we can shorten all of this and put it in a table. The code will look something like this: