Skip to content

Commit 4b47a5b

Browse files
committed
flake.nix: add pkgs-stable to specialArgs
even if stable is the default, an overridden host may still want to access pkgs-stable as a specialArg
1 parent 16ac5a0 commit 4b47a5b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

flake.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,11 @@
257257
in
258258
{
259259
inherit self inputs;
260+
261+
# even if stable is the default, an overridden host may still want to
262+
# access pkgs-stable as a specialArg
263+
pkgs-stable = pkgsFromInput nixpkgs;
264+
260265
# pkgs-unstable exposes the packages from the nixpkgs-unstable input
261266
# this should only be used as a *temporary* measure when the version of
262267
# a package in nixpkgs stable is not sufficiently updated

0 commit comments

Comments
 (0)