redlib: fix build
This commit is contained in:
parent
7ab4f36d09
commit
8f65bade05
3 changed files with 25 additions and 2 deletions
|
@ -21,7 +21,7 @@ jobs:
|
|||
nix-update --flake anonymous-overflow
|
||||
nix-update --flake --version development bulk-downloader-for-reddit
|
||||
nix-update --flake q
|
||||
nix-update --flake redlib
|
||||
#nix-update --flake redlib
|
||||
env NIX_PATH=nixpkgs=$(nix flake metadata github:nixos/nixpkgs/nixos-unstable-small --json | jq -r .path) nix-shell ./packages/tabnine/update.sh
|
||||
nix-update --flake tg-archive
|
||||
nix-update --flake vuetorrent
|
||||
|
|
|
@ -14,7 +14,11 @@ pkgs.rustPlatform.buildRustPackage rec {
|
|||
sha256 = "sha256-h/UoMlCno9ua2H3dhOfN7S+3MEh8AbpcJ9+0IWootDM=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-5ax7Y2HRSwRor9QR9ykF8gq6jqq+V3PglRxspHSF5ws=";
|
||||
cargoPatches = [
|
||||
../patches/redlib_cargo-lock.patch
|
||||
];
|
||||
|
||||
cargoSha256 = "sha256-0ExHV7m9j4HFDpZqp32XYXmwHhyRobS1CUymRB0lt4Y=";
|
||||
|
||||
buildInputs = lib.optionals isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
|
||||
Security
|
||||
|
|
19
patches/redlib_cargo-lock.patch
Normal file
19
patches/redlib_cargo-lock.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
Subject: Fix Cargo.lock
|
||||
|
||||
---
|
||||
Cargo.lock | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -1047,7 +1047,7 @@ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
||||
|
||||
[[package]]
|
||||
name = "redlib"
|
||||
-version = "0.31.0"
|
||||
+version = "0.31.2"
|
||||
dependencies = [
|
||||
"askama",
|
||||
"base64",
|
||||
--
|
||||
2.43.2
|
Loading…
Reference in a new issue