From 20162874e04db8e218323602d8d7bdcc1b22afb9 Mon Sep 17 00:00:00 2001 From: networkException Date: Mon, 4 Dec 2023 02:02:46 +0100 Subject: [PATCH] Toolchain: Use nixos-unstable instead of nixpkgs master in flake This patch updates the flake to track the nixos-unstable branch instead of master for the nixpkgs flake input. This ensures that hydra.nixos.org (the NixOS CI) has built all packages, made them available in the cache.nixos.org binary cache without the risk of a definitions (evalulation) being broken on master. --- Toolchain/flake.lock | 7 ++++--- Toolchain/flake.nix | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Toolchain/flake.lock b/Toolchain/flake.lock index c5cd007b318..85d902ecb90 100644 --- a/Toolchain/flake.lock +++ b/Toolchain/flake.lock @@ -20,15 +20,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1693485768, - "narHash": "sha256-PxqYECiPBBbavaPjnf/v2rlzp2Xoe/JPA7rl1WxGe0A=", + "lastModified": 1701253981, + "narHash": "sha256-ztaDIyZ7HrTAfEEUt9AtTDNoCYxUdSd6NrRHaYOIxtk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c106712dc7a447db0c8a654162c3a0557909dfd6", + "rev": "e92039b55bcd58469325ded85d4f58dd5a4eaf58", "type": "github" }, "original": { "owner": "NixOS", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } diff --git a/Toolchain/flake.nix b/Toolchain/flake.nix index e95e4f3215e..f915778363f 100644 --- a/Toolchain/flake.nix +++ b/Toolchain/flake.nix @@ -2,7 +2,7 @@ description = "Serenity OS"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, flake-utils, nixpkgs }: