fix: modelscope

This commit is contained in:
Ryan Yin
2026-03-20 21:14:14 +08:00
parent 73363d5ca8
commit d72bc84265
3 changed files with 7 additions and 6 deletions

8
flake.lock generated
View File

@@ -799,16 +799,16 @@
},
"nixpkgs-patched": {
"locked": {
"lastModified": 1771008912,
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
"lastModified": 1774012337,
"narHash": "sha256-75W3YfzkkKvpE3/wtHMihlT9kOnQZxWpLoshw1xu0T8=",
"owner": "ryan4yin",
"repo": "nixpkgs",
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
"rev": "d373b16187b32770d99f6ff54a133d9543e68702",
"type": "github"
},
"original": {
"owner": "ryan4yin",
"ref": "nixos-unstable",
"ref": "nixos-unstable-patched",
"repo": "nixpkgs",
"type": "github"
}

View File

@@ -42,7 +42,7 @@
nixpkgs-2505.url = "github:nixos/nixpkgs/nixos-25.05";
# nixpkgs with some custom patches
nixpkgs-patched.url = "github:ryan4yin/nixpkgs/nixos-unstable";
nixpkgs-patched.url = "github:ryan4yin/nixpkgs/nixos-unstable-patched";
# get some latest packages from the master branch
nixpkgs-master.url = "github:nixos/nixpkgs/master";

View File

@@ -1,5 +1,6 @@
{
pkgs,
pkgs-patched,
...
}:
{
@@ -30,7 +31,7 @@
# ai related
python313Packages.huggingface-hub # huggingface-cli
python313Packages.modelscope
pkgs-patched.python313Packages.modelscope
yt-dlp # youtube/bilibili/soundcloud/... video/music downloader
# misc