Flakes: Difference between revisions
imported>Toastal missing shebang; fails on fish |
imported>Asymmetric m --update-input argument was moved to lock subcommand |
||
Line 14: | Line 14: | ||
<syntaxHighlight lang=console> | <syntaxHighlight lang=console> | ||
$ nix flake | $ nix flake lock --update-input home-manager | ||
</syntaxHighlight> | </syntaxHighlight> | ||
Line 191: | Line 191: | ||
</syntaxHighlight> | </syntaxHighlight> | ||
You can also use the lockfile to make updating the hashes easier using <code>nix flake | You can also use the lockfile to make updating the hashes easier using <code>nix flake lock --update-input flake-compat</code>. Add the following to your <code>flake.nix</code>: | ||
<syntaxHighlight lang=nix> | <syntaxHighlight lang=nix> |