Jump to content

Translations:Hugo/13/en: Difference between revisions

From NixOS Wiki
FuzzyBot (talk | contribs)
Importing a new version from external source
Tags: Mobile edit Mobile web edit
 
(No difference)

Latest revision as of 06:59, 19 May 2025

Message definition (Hugo)
You may want to limit Hugo installation to your project only. This allows contributors to use the exact dependencies specified for the project:
{{file|shell.nix|nix|<nowiki>
{ pkgs ? import <nixpkgs> {} }:
  pkgs.mkShellNoCC {
   packages = [
     pkgs.hugo
     # Other dependencies for your project.
   ];
  }
</nowiki>}}

You may want to limit Hugo installation to your project only. This allows contributors to use the exact dependencies specified for the project:

❄︎ shell.nix
{ pkgs ? import &lt;nixpkgs&gt; {} }:
  pkgs.mkShellNoCC {
    packages = [
      pkgs.hugo
      # Other dependencies for your project.
    ];
  }