mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 02:08:29 +02:00
fix: modelscope
This commit is contained in:
8
flake.lock
generated
8
flake.lock
generated
@@ -799,16 +799,16 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-patched": {
|
"nixpkgs-patched": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771008912,
|
"lastModified": 1774012337,
|
||||||
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
|
"narHash": "sha256-75W3YfzkkKvpE3/wtHMihlT9kOnQZxWpLoshw1xu0T8=",
|
||||||
"owner": "ryan4yin",
|
"owner": "ryan4yin",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
|
"rev": "d373b16187b32770d99f6ff54a133d9543e68702",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "ryan4yin",
|
"owner": "ryan4yin",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-unstable-patched",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
nixpkgs-2505.url = "github:nixos/nixpkgs/nixos-25.05";
|
nixpkgs-2505.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||||
|
|
||||||
# nixpkgs with some custom patches
|
# 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
|
# get some latest packages from the master branch
|
||||||
nixpkgs-master.url = "github:nixos/nixpkgs/master";
|
nixpkgs-master.url = "github:nixos/nixpkgs/master";
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
pkgs-patched,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
@@ -30,7 +31,7 @@
|
|||||||
|
|
||||||
# ai related
|
# ai related
|
||||||
python313Packages.huggingface-hub # huggingface-cli
|
python313Packages.huggingface-hub # huggingface-cli
|
||||||
python313Packages.modelscope
|
pkgs-patched.python313Packages.modelscope
|
||||||
yt-dlp # youtube/bilibili/soundcloud/... video/music downloader
|
yt-dlp # youtube/bilibili/soundcloud/... video/music downloader
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
|
|||||||
Reference in New Issue
Block a user