From 56f98c596a62f92ad92b1d7a10654362995a2192 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Thu, 12 Sep 2024 17:43:20 +0000 Subject: [PATCH] 23.05 -> 24.05 --- template/dogfood/flake.nix | 2 +- template/dogfood/modules/custom-hello.nix | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/template/dogfood/flake.nix b/template/dogfood/flake.nix index 198e8d9..61cbf5f 100644 --- a/template/dogfood/flake.nix +++ b/template/dogfood/flake.nix @@ -2,7 +2,7 @@ description = "Description for the project"; inputs = { - nixpkgs_23_05.url = "github:NixOS/nixpkgs/nixos-23.05"; + nixpkgs_24_05.url = "github:NixOS/nixpkgs/nixos-24.05"; }; outputs = { flake-parts, self, nixpkgs, ... }@inputs: diff --git a/template/dogfood/modules/custom-hello.nix b/template/dogfood/modules/custom-hello.nix index 068d303..e97ca61 100644 --- a/template/dogfood/modules/custom-hello.nix +++ b/template/dogfood/modules/custom-hello.nix @@ -12,19 +12,19 @@ options.customHello.enableUserStdenv = lib.mkEnableOption "stdenv from `flakeModules.customHello` user's nixpkgs"; options.perSystem = flake-parts-lib.mkPerSystemOption ({ pkgs, system, ... }: { packages.hello = - (inputs.nixpkgs_23_05.legacyPackages.${system}.hello.override { + (inputs.nixpkgs_24_05.legacyPackages.${system}.hello.override { stdenv = if cfg.enableUserStdenv then pkgs.stdenv else - inputs.nixpkgs_23_05.legacyPackages.${system}.stdenv; + inputs.nixpkgs_24_05.legacyPackages.${system}.stdenv; }).overrideAttrs (oldAttrs: { meta = oldAttrs.meta // { - description = "A hello package from the `flakeModules.customHello` author's nixpkgs 23.05, built with stdenv from ${ + description = "A hello package from the `flakeModules.customHello` author's nixpkgs 24.05, built with stdenv from ${ if cfg.enableUserStdenv then "the `flakeModules.customHello` user's nixpkgs" else - "the `flakeModules.customHello` author's nixpkgs 23.05" + "the `flakeModules.customHello` author's nixpkgs 24.05" }"; }; });