change nixpkgs ref and modify rustypaste config

This commit is contained in:
ulic-youthlic 2025-02-23 02:27:41 +08:00
parent 0cf7adb488
commit 5b00dac090
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
3 changed files with 7 additions and 7 deletions

8
flake.lock generated
View file

@ -1035,16 +1035,16 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1730531603, "lastModified": 1739857954,
"narHash": "sha256-Dqg6si5CqIzm87sp57j5nTaeBbWhHFaVyG7V6L8k3lY=", "narHash": "sha256-8QTHcazq37yLRJpxCm/l9Uz2ek3RixcHgjfuyb82Z1Q=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7ffd9ae656aec493492b44d0ddfb28e79a1ea25d", "rev": "1d182bfc59037ed9325e3493fe210e31ab6b2d86",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "7ffd9ae656aec493492b44d0ddfb28e79a1ea25d", "ref": "1d182bfc59037ed9325e3493fe210e31ab6b2d86",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View file

@ -8,7 +8,7 @@
type = "github"; type = "github";
owner = "NixOS"; owner = "NixOS";
repo = "nixpkgs"; repo = "nixpkgs";
ref = "7ffd9ae656aec493492b44d0ddfb28e79a1ea25d"; ref = "1d182bfc59037ed9325e3493fe210e31ab6b2d86";
}; };
lix-module = { lix-module = {

View file

@ -50,7 +50,7 @@ in
timeout = "30s"; timeout = "30s";
expose_version = true; expose_version = true;
expose_list = true; expose_list = true;
handle_spaces = "encode"; handle_spaces = "replace";
}; };
paste = { paste = {
duplicate_files = true; duplicate_files = true;
@ -97,7 +97,7 @@ in
} }
{ {
mime = "text/plain"; mime = "text/plain";
regex = "^.*\\.(log|txt|diff|sh|rs|toml|py|json|yaml|yml|ts|js|go|c|C|c++|cpp|cxx)$"; regex = "^.*\\.(log|txt|diff|sh|rs|toml|py|json|yaml|yml|ts|js|go|c|C|c++|cpp|cxx|patch|toml|bash|fish)$";
} }
]; ];
}; };