Jump to content

Translations:Flakes/132/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:
note that this will download a full source tarball of nixpkgs.  if you already have a local clone, using that may be faster due to delta compression:
note that this will download a full source tarball of nixpkgs.  if you already have a local clone, using that may be faster due to delta compression:
<syntaxHighlight>
git fetch upstream pull/<PR_NUMBER>/head && git checkout FETCH_HEAD && nix build .#PACKAGE
</syntaxHighlight>
this allows building a package that has not yet been added to nixpkgs.
=== How to add a file locally in git but not include it in commits ===

Latest revision as of 12:36, 30 July 2024

Message definition (Flakes)
note that this will download a full source tarball of nixpkgs.  if you already have a local clone, using that may be faster due to delta compression:

note that this will download a full source tarball of nixpkgs. if you already have a local clone, using that may be faster due to delta compression: