use Nachtalb redlib fork
This commit is contained in:
parent
6392f2826f
commit
a4601c8e3a
3 changed files with 10 additions and 21 deletions
|
|
@ -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=";
|
||||
};
|
||||
});
|
||||
};
|
||||
|
|
|
|||
10
flake.lock
generated
10
flake.lock
generated
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
16
flake.nix
16
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 =
|
||||
|
|
|
|||
Loading…
Reference in a new issue