use Nachtalb redlib fork

This commit is contained in:
Henry Hiles 2026-11-09 18:14:44 -05:00
commit a4601c8e3a
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
3 changed files with 10 additions and 21 deletions

View file

@ -23,12 +23,15 @@
go go
perl perl
git git
pkg-config
rustPlatform.bindgenHook rustPlatform.bindgenHook
]); ]);
buildInputs = (oldAttrs.buildInputs or [ ]) ++ [ pkgs.zstd ];
cargoDeps = pkgs.rustPlatform.fetchCargoVendor { cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
inherit src; inherit src;
hash = "sha256-XgHXqH4EF8TEOI+cKJ0Z2j6QYRCwGgv8bmY8gZpPN9c="; hash = "sha256-xUFN5Be+LR9Ogm26Zv7G9bd9oXyHzCyGjHy3vxlH8SM=";
}; };
}); });
}; };

10
flake.lock generated
View file

@ -1105,15 +1105,15 @@
"redlib": { "redlib": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1792855697, "lastModified": 1794091249,
"narHash": "sha256-j6rT1oIGdxZtuAHXTpe1LiwGPUy8gKp5ifEdprHLIkE=", "narHash": "sha256-IXm3PcN1h5qlFq1j3xTEbU5yrDNL7LCXCVv2t8Sz4O8=",
"owner": "Silvenga", "owner": "Nachtalb",
"repo": "redlib", "repo": "redlib",
"rev": "c0156ee2bbd1a7860ca82e4c3e9b8508b3f049d6", "rev": "e498e6a7f4a6dc1e6c5993a5f33da1258860db35",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "Silvenga", "owner": "Nachtalb",
"repo": "redlib", "repo": "redlib",
"type": "github" "type": "github"
} }

View file

@ -84,7 +84,7 @@
flake = false; flake = false;
}; };
redlib = { redlib = {
url = "github:Silvenga/redlib"; url = "github:Nachtalb/redlib";
flake = false; flake = false;
}; };
# TODO: remove once https://github.com/NixOS/nixpkgs/pull/548367 is merged # TODO: remove once https://github.com/NixOS/nixpkgs/pull/548367 is merged
@ -109,20 +109,6 @@
specialArgs = { specialArgs = {
inherit inputs dirUtils; inherit inputs dirUtils;
inherit (info) type; 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 = modules =