From cbd99c2cc796db2a5803b4f843ced8db0735e7aa Mon Sep 17 00:00:00 2001 From: AnnoyingRains Date: Sun, 31 Aug 2025 01:40:41 +1000 Subject: [PATCH] fix: nix --- flake.lock | 17 ++++++----------- flake.nix | 7 +++---- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/flake.lock b/flake.lock index 3fc6377..c25f415 100644 --- a/flake.lock +++ b/flake.lock @@ -1,17 +1,12 @@ { "nodes": { "crane": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, "locked": { - "lastModified": 1712681629, - "narHash": "sha256-bMDXn4AkTXLCpoZbII6pDGoSeSe9gI87jxPsHRXgu/E=", + "lastModified": 1755993354, + "narHash": "sha256-FCRRAzSaL/+umLIm3RU3O/+fJ2ssaPHseI2SSFL8yZU=", "owner": "ipetkov", "repo": "crane", - "rev": "220387ac8e99cbee0ca4c95b621c4bc782b6a235", + "rev": "25bd41b24426c7734278c2ff02e53258851db914", "type": "github" }, "original": { @@ -22,11 +17,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1712791164, - "narHash": "sha256-3sbWO1mbpWsLepZGbWaMovSO7ndZeFqDSdX0hZ9nVyw=", + "lastModified": 1756386758, + "narHash": "sha256-1wxxznpW2CKvI9VdniaUnTT2Os6rdRJcRUf65ZK9OtE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1042fd8b148a9105f3c0aca3a6177fd1d9360ba5", + "rev": "dfb2f12e899db4876308eba6d93455ab7da304cd", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index d2629c7..7d88a7e 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,6 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; crane = { - inputs.nixpkgs.follows = "nixpkgs"; url = "github:ipetkov/crane"; }; }; @@ -13,9 +12,9 @@ forAllSystems = nixpkgs.lib.genAttrs supportedSystems; nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; }); in { - packages = forAllSystems (system: let pkgs = nixpkgsFor.${system}; in { - default = crane.lib.${system}.buildPackage { - pname = "protostar"; + packages = forAllSystems (system: let pkgs = nixpkgsFor.${system}; craneLib = crane.mkLib pkgs; in { + default = craneLib.buildPackage { + pname = "hexagon-launcher"; version = "0.1.0"; src = ./.;