From 9802c778b7a5156cf49e8d5c381b94ac6074a954 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Thu, 4 Apr 2024 19:10:24 -0500 Subject: upgrade nixpkgs --- flake.lock | 8 ++++---- flake.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 59920cf3da14..1f7f83fd0b51 100644 --- a/flake.lock +++ b/flake.lock @@ -17,17 +17,17 @@ }, "nixpkgs": { "locked": { - "lastModified": 1711163522, - "narHash": "sha256-YN/Ciidm+A0fmJPWlHBGvVkcarYWSC+s3NTPk/P+q3c=", + "lastModified": 1712163089, + "narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "44d0940ea560dee511026a53f0e2e2cde489b4d4", + "rev": "fd281bd6b7d3e32ddfa399853946f782553163b5", "type": "github" }, "original": { "owner": "nixos", "repo": "nixpkgs", - "rev": "44d0940ea560dee511026a53f0e2e2cde489b4d4", + "rev": "fd281bd6b7d3e32ddfa399853946f782553163b5", "type": "github" } }, diff --git a/flake.nix b/flake.nix index bdc617cfbc0d..e7515b264971 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,7 @@ nixpkgs = { # https://hydra.nixos.org/jobset/mobile-nixos/unstable/evals # these evals have a cross-compiled stdenv available - url = "github:nixos/nixpkgs/44d0940ea560dee511026a53f0e2e2cde489b4d4"; + url = "github:nixos/nixpkgs/fd281bd6b7d3e32ddfa399853946f782553163b5"; }; rust-overlay = { -- cgit 1.4.1 From 1038484654c4898232b00620fc4c77d1b7ab49fa Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Thu, 4 Apr 2024 19:51:50 -0500 Subject: installer: fix refind cross compilation --- iso-configuration/installer-configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iso-configuration/installer-configuration.nix b/iso-configuration/installer-configuration.nix index ab83bdf9e460..321ccf70c4c9 100644 --- a/iso-configuration/installer-configuration.nix +++ b/iso-configuration/installer-configuration.nix @@ -115,6 +115,10 @@ "GPGRT_CONFIG=${final.lib.getDev final.libgpg-error}/bin/gpgrt-config" ]; }); + + # fix for refind cross-compilation: + # https://github.com/NixOS/nixpkgs/pull/301598 + refind = prev.refind.override { sbsigntool = null; }; }) ]; -- cgit 1.4.1 From d47afc3f0f8b3078c818da8609c41340af61a2ec Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Thu, 4 Apr 2024 20:12:57 -0500 Subject: release 2024-04-04 --- README.md | 2 +- docs/release-notes.md | 7 +++++++ docs/uefi-standalone.md | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2a3eac8d9c4d..97c3938a42fe 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Please see the documentation and guide below to get started. ## Documentation * [Release Notes](docs/release-notes.md) -* [Setup, Installation, and Maintenance Guide (2024-03-24)](docs/uefi-standalone.md) +* [Setup, Installation, and Maintenance Guide (2024-04-04)](docs/uefi-standalone.md) ## Credits diff --git a/docs/release-notes.md b/docs/release-notes.md index 358764410a0f..0dd0d4e90aba 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -2,6 +2,13 @@ This file contains important information for each release. +## 2024-04-04 + +This release updates nixpkgs. + +Another fix is also included for cross-compiling the installer with recent +nixpkgs versions. + ## 2024-03-24 This release updates nixpkgs and the kernel. diff --git a/docs/uefi-standalone.md b/docs/uefi-standalone.md index dc12818d43f8..3133535c740b 100644 --- a/docs/uefi-standalone.md +++ b/docs/uefi-standalone.md @@ -1,11 +1,11 @@ -# UEFI Boot Standalone NixOS (2024-03-24) +# UEFI Boot Standalone NixOS (2024-04-04) This guide will build and was tested with the following software: * Asahi Linux kernel version 6.6.0-asahi16 * Asahi Linux's Mesa version 24.1.0_asahi-20240228-1 * m1n1 version v1.4.11 * Asahi Linux's U-Boot version 2023.07.02.asahi4-1 -* Nixpkgs, as of 2024-03-22 +* Nixpkgs, as of 2024-04-03 * macOS stub 12.3 NOTE: The latest version of this guide will always be [at its home](https://github.com/tpwrules/nixos-apple-silicon/blob/main/docs/uefi-standalone.md). For more general information about Linux on Apple Silicon Macs, refer to the [Asahi Linux project](https://asahilinux.org/) and [alpha installer release](https://asahilinux.org/2022/03/asahi-linux-alpha-release/). -- cgit 1.4.1