From 92c4d586942e7179d2e0cbe9207f3dd4065ab8c4 Mon Sep 17 00:00:00 2001 From: Soliprem Date: Wed, 8 Jul 2026 15:04:21 +0200 Subject: [PATCH] flake: fix broken inherit lock: update inputs - fixes error when build from up to date nixpkgs systems - fixes scenefx 0.5 being missing - keeps flake-parts up-to-date with the used nixpkgs --- flake.lock | 24 ++++++++++++------------ flake.nix | 3 +-- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/flake.lock b/flake.lock index 05db7417..05b83f43 100644 --- a/flake.lock +++ b/flake.lock @@ -5,11 +5,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1749398372, - "narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=", + "lastModified": 1782949081, + "narHash": "sha256-vp6Y/Grm98ESt6ceOkWiHWyZRDV3J1RID4w+6NWK9yA=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569", + "rev": "17c9d6cdfc60c64f4ee8d306f9bc0b4ccb51481e", "type": "github" }, "original": { @@ -41,11 +41,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1778274207, - "narHash": "sha256-I4puXmX1iovcCHZlRmztO3vW0mAbbRvq4F8wgIMQ1MM=", + "lastModified": 1783279667, + "narHash": "sha256-/NAkDSsve+GNM0Bt6tleJdCGfsTlK89nPjkVOzZMo0s=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b3da656039dc7a6240f27b2ef8cc6a3ef3bccae7", + "rev": "f205b5574fd0cb7da5b702a2da51507b7f4fdd1b", "type": "github" }, "original": { @@ -57,11 +57,11 @@ }, "nixpkgs-lib": { "locked": { - "lastModified": 1748740939, - "narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=", + "lastModified": 1782614948, + "narHash": "sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC+eBu2zKlp8=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "656a64127e9d791a334452c6b6606d17539476e2", + "rev": "db3f255737b94216eb71cce308e2912cf6bc2d7c", "type": "github" }, "original": { @@ -86,11 +86,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1762447505, - "narHash": "sha256-VEBQ8KXkSS4c+kdAhmvq06lEd9WNeCXdRK1U+qSilFw=", + "lastModified": 1782624992, + "narHash": "sha256-vUjLG6eubEhJJVa9LPygIcVmNoHwYbSUTJcWEcbxnU4=", "owner": "wlrfx", "repo": "scenefx", - "rev": "7f9e7409f6169fa637f1265895c121a8f8b70272", + "rev": "37ccd723bef49e6891156ffafce8f549f01446cc", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 0283197d..c02d4b8f 100644 --- a/flake.nix +++ b/flake.nix @@ -25,13 +25,12 @@ perSystem = { config, - system, pkgs, ... }: let inherit (pkgs) callPackage; mango = callPackage ./nix { - scenefx = inputs.scenefx.packages.${system}.default; + scenefx = inputs.scenefx.packages.${pkgs.stdenv.hostPlatform.system}.default; }; shellOverride = old: { nativeBuildInputs = old.nativeBuildInputs ++ [];