Fix btcpayserver.nix to use pkgs.stable overlay

Replace all pkgs-stable references with pkgs.stable (from overlay-stable in flake.nix):
- Remove pkgs-stable from function arguments
- Use pkgs.stable.nbxplorer (2.6.10 from nixos-26.05)
- Use pkgs.stable.btcpayserver (2.4.2 from nixos-26.05)
This commit is contained in:
Sovran Systems
2026-08-10 11:16:26 -05:00
parent 7b04adbbe6
commit a68130625e
+6 -6
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, pkgs-stable, ... }: { config, lib, pkgs, ... }:
with lib; with lib;
let let
@@ -26,8 +26,8 @@ let
}; };
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = pkgs-stable.nbxplorer; default = pkgs.stable.nbxplorer;
defaultText = "pkgs-stable.nbxplorer"; defaultText = "pkgs.stable.nbxplorer";
description = "The package providing nbxplorer binaries."; description = "The package providing nbxplorer binaries.";
}; };
dataDir = mkOption { dataDir = mkOption {
@@ -47,7 +47,7 @@ let
# be nix-bitcoin <=0.0.91) # be nix-bitcoin <=0.0.91)
addNetworkSymlink = mkOption { addNetworkSymlink = mkOption {
readOnly = true; readOnly = true;
default = pkgs-stable.nbxplorer != cfg.nbxplorer.package; default = pkgs.stable.nbxplorer != cfg.nbxplorer.package;
description = '' description = ''
Whether to add a compatibility symlink (like `${cfg.nbxplorer.dataDir}/Main`) Whether to add a compatibility symlink (like `${cfg.nbxplorer.dataDir}/Main`)
to the dataDir. to the dataDir.
@@ -83,8 +83,8 @@ let
}; };
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = pkgs-stable.btcpayserver; default = pkgs.stable.btcpayserver;
defaultText = "pkgs-stable.btcpayserver"; defaultText = "pkgs.stable.btcpayserver";
description = "The package providing BTCPay Server binaries."; description = "The package providing BTCPay Server binaries.";
}; };
address = mkOption { address = mkOption {