flake.nix: update to nixos-25.11

And squashes eval warnings from accessing pkgs.hostPlatform.
This commit is contained in:
Martin Weinelt
2025-11-25 15:23:17 +01:00
committed by ahuston-0
parent 39b2c7c0da
commit 7123dd8981
3 changed files with 7 additions and 7 deletions

8
flake.lock generated
View File

@@ -36,16 +36,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1759652726, "lastModified": 1764020296,
"narHash": "sha256-2VjnimOYDRb3DZHyQ2WH2KCouFqYm9h0Rr007Al/WSA=", "narHash": "sha256-6zddwDs2n+n01l+1TG6PlyokDdXzu/oBmEejcH5L5+A=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "06b2985f0cc9eb4318bf607168f4b15af1e5e81d", "rev": "a320ce8e6e2cc6b4397eef214d202a50a4583829",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.05-small", "ref": "nixos-25.11-small",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View File

@@ -1,7 +1,7 @@
{ {
description = "A Nix-based continuous build system"; description = "A Nix-based continuous build system";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05-small"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11-small";
inputs.nix = { inputs.nix = {
url = "github:NixOS/nix/2.32-maintenance"; url = "github:NixOS/nix/2.32-maintenance";
@@ -59,7 +59,7 @@
manual = forEachSystem (system: let manual = forEachSystem (system: let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
hydra = self.packages.${pkgs.hostPlatform.system}.hydra; hydra = self.packages.${pkgs.stdenv.hostPlatform.system}.hydra;
in in
pkgs.runCommand "hydra-manual-${hydra.version}" { } pkgs.runCommand "hydra-manual-${hydra.version}" { }
'' ''

View File

@@ -4,7 +4,7 @@
hydra = { pkgs, lib,... }: { hydra = { pkgs, lib,... }: {
_file = ./default.nix; _file = ./default.nix;
imports = [ ./hydra.nix ]; imports = [ ./hydra.nix ];
services.hydra-dev.package = lib.mkDefault self.packages.${pkgs.hostPlatform.system}.hydra; services.hydra-dev.package = lib.mkDefault self.packages.${pkgs.stdenv.hostPlatform.system}.hydra;
}; };
hydraTest = { pkgs, ... }: { hydraTest = { pkgs, ... }: {