From 79e401d28970e86109c831040fa070e2a2840985 Mon Sep 17 00:00:00 2001 From: Gabriel Fontes Date: Mon, 22 Apr 2024 14:17:19 -0300 Subject: [PATCH] use nixpkgs stable with nix+hydra --- flake.lock | 21 +++++++++++++++++++-- flake.nix | 5 +++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 287c1553..26d5f414 100644 --- a/flake.lock +++ b/flake.lock @@ -311,7 +311,7 @@ "nix" ], "nixpkgs": [ - "nixpkgs" + "nixpkgs-stable" ] }, "locked": { @@ -515,7 +515,7 @@ "flake-compat": "flake-compat", "libgit2": "libgit2", "nixpkgs": [ - "nixpkgs" + "nixpkgs-stable" ], "nixpkgs-regression": "nixpkgs-regression" }, @@ -684,6 +684,22 @@ "type": "github" } }, + "nixpkgs-stable": { + "locked": { + "lastModified": 1713725259, + "narHash": "sha256-9ZR/Rbx5/Z/JZf5ehVNMoz/s5xjpP0a22tL6qNvLt5E=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "a5e4bbcb4780c63c79c87d29ea409abf097de3f7", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-23.11", + "repo": "nixpkgs", + "type": "github" + } + }, "paste-misterio-me": { "inputs": { "nixpkgs": [ @@ -723,6 +739,7 @@ "nix-minecraft": "nix-minecraft", "nixos-mailserver": "nixos-mailserver", "nixpkgs": "nixpkgs", + "nixpkgs-stable": "nixpkgs-stable", "paste-misterio-me": "paste-misterio-me", "sops-nix": "sops-nix", "website": "website" diff --git a/flake.nix b/flake.nix index d83b7803..47afd81c 100644 --- a/flake.nix +++ b/flake.nix @@ -14,6 +14,7 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs-stable.url ="github:nixos/nixpkgs/nixos-23.11"; hardware.url = "github:nixos/nixos-hardware"; impermanence.url = "github:nix-community/impermanence"; @@ -21,11 +22,11 @@ nix = { url = "github:nixos/nix/2.21-maintenance"; - inputs.nixpkgs.follows = "nixpkgs"; + inputs.nixpkgs.follows = "nixpkgs-stable"; }; hydra = { url = "github:nixos/hydra"; - inputs.nixpkgs.follows = "nixpkgs"; + inputs.nixpkgs.follows = "nixpkgs-stable"; inputs.nix.follows = "nix"; };