diff --git a/clients/quadraticserver/redlib.nix b/clients/quadraticserver/redlib.nix index 335c787..1bfa7f0 100644 --- a/clients/quadraticserver/redlib.nix +++ b/clients/quadraticserver/redlib.nix @@ -23,12 +23,15 @@ go perl git + pkg-config rustPlatform.bindgenHook ]); + buildInputs = (oldAttrs.buildInputs or [ ]) ++ [ pkgs.zstd ]; + cargoDeps = pkgs.rustPlatform.fetchCargoVendor { inherit src; - hash = "sha256-XgHXqH4EF8TEOI+cKJ0Z2j6QYRCwGgv8bmY8gZpPN9c="; + hash = "sha256-xUFN5Be+LR9Ogm26Zv7G9bd9oXyHzCyGjHy3vxlH8SM="; }; }); }; diff --git a/flake.lock b/flake.lock index c219eb2..d96d2e9 100644 --- a/flake.lock +++ b/flake.lock @@ -1105,15 +1105,15 @@ "redlib": { "flake": false, "locked": { - "lastModified": 1792855697, - "narHash": "sha256-j6rT1oIGdxZtuAHXTpe1LiwGPUy8gKp5ifEdprHLIkE=", - "owner": "Silvenga", + "lastModified": 1794091249, + "narHash": "sha256-IXm3PcN1h5qlFq1j3xTEbU5yrDNL7LCXCVv2t8Sz4O8=", + "owner": "Nachtalb", "repo": "redlib", - "rev": "c0156ee2bbd1a7860ca82e4c3e9b8508b3f049d6", + "rev": "e498e6a7f4a6dc1e6c5993a5f33da1258860db35", "type": "github" }, "original": { - "owner": "Silvenga", + "owner": "Nachtalb", "repo": "redlib", "type": "github" } diff --git a/flake.nix b/flake.nix index 8127a7a..3af0b6f 100755 --- a/flake.nix +++ b/flake.nix @@ -84,7 +84,7 @@ flake = false; }; redlib = { - url = "github:Silvenga/redlib"; + url = "github:Nachtalb/redlib"; flake = false; }; # TODO: remove once https://github.com/NixOS/nixpkgs/pull/548367 is merged @@ -109,20 +109,6 @@ specialArgs = { inherit inputs dirUtils; inherit (info) type; - - crossPkgs = import inputs.nixpkgs { - hostPlatform = info.system; - localSystem = info.system; - buildPlatform = "x86_64-linux"; - - overlays = - let - path = ./cross-overlays/${info.hostname}; - in - dirUtils.opt (builtins.pathExists path) ( - map (file: import file inputs) (lib.filesystem.listFilesRecursive path) - ); - }; }; modules =