From 75d8ee3810b4576e6945144161bda4dcfec5f03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 10 Jun 2024 06:25:24 +0200 Subject: [PATCH] drop no-bootloader overlay for nixpkgs-unstable --- nix/no-bootloaders.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/nix/no-bootloaders.nix b/nix/no-bootloaders.nix index 0e1a6e0..b8b45a5 100644 --- a/nix/no-bootloaders.nix +++ b/nix/no-bootloaders.nix @@ -1,8 +1,7 @@ -{ - # HACK: Drop this once, we have https://github.com/NixOS/nixpkgs/pull/312863 merged - - # Both syslinux and grub also reference perl - nixpkgs.overlays = [ +{ lib, ... }: { + # HACK: Drop this, once we have 24.11 everywhere + nixpkgs.overlays = lib.optionals (lib.versionOlder lib.version "24.11pre") [ + # Both syslinux and grub also reference perl (final: prev: { # we don't need grub: save ~ 60MB grub2 = prev.coreutils;