You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/nixos-with-flakes/downgrade-or-upgrade-packages.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,12 @@ submodule. Here's an example of a Home Manager submodule:
104
104
105
105
## Pinning a package version with an overlay
106
106
107
-
The above approach is perfect for application packages, but sometimes you need to replace libraries used by those packages. This is where [Overlays](../nixpkgs/overlays.md) shine! Overlays can edit or replace any attribute of a package, but for now we'll just pin a package to a different nixpkgs version. The main disadvantage of editing a dependency with an overlay is that your Nix installation will recompile all installed packages that depend on it, but your situation may require it for specific bug fixes.
107
+
The above approach is perfect for application packages, but sometimes you need to replace
108
+
libraries used by those packages. This is where [Overlays](../nixpkgs/overlays.md) shine!
109
+
Overlays can edit or replace any attribute of a package, but for now we'll just pin a
110
+
package to a different nixpkgs version. The main disadvantage of editing a dependency with
111
+
an overlay is that your Nix installation will recompile all installed packages that depend
112
+
on it, but your situation may require it for specific bug fixes.
0 commit comments