wow
This commit is contained in:
parent
ead5316cee
commit
967d9f0d41
2 changed files with 16 additions and 5 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -3,11 +3,11 @@
|
|||
"amiaBot": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1785735838,
|
||||
"narHash": "sha256-AvVOwO+oGo0u0cPpZbfdxFtY8YkPjAjFdNYZIMk76gg=",
|
||||
"lastModified": 1786289613,
|
||||
"narHash": "sha256-G92Fb1/2XskSkrsqCA85MGlcR3jjzk7PwiY0KiYpQ4w=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "5b8280321b813024968b4324d671834873c7bc15",
|
||||
"revCount": 9,
|
||||
"rev": "67f9e137acb643d5d8444bc1db786f044589cfdd",
|
||||
"revCount": 17,
|
||||
"type": "git",
|
||||
"url": "ssh://forgejo@mizuki.guru/imnyang/amia"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,10 +1,21 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
let
|
||||
rustyV8Archive = pkgs.fetchurl {
|
||||
url = "https://github.com/denoland/rusty_v8/releases/download/v137.3.0/librusty_v8_release_x86_64-unknown-linux-gnu.a.gz";
|
||||
hash = "sha256-omgf3lMBir0zZgGPEyYX3VmAAt948VbHvG0v9gi1ZWc=";
|
||||
};
|
||||
|
||||
amiaBot = pkgs.rustPlatform.buildRustPackage {
|
||||
pname = "amia";
|
||||
version = "0.1.0";
|
||||
src = inputs.amiaBot;
|
||||
cargoLock.lockFile = "${inputs.amiaBot}/Cargo.lock";
|
||||
RUSTY_V8_ARCHIVE = rustyV8Archive;
|
||||
cargoLock = {
|
||||
lockFile = "${inputs.amiaBot}/Cargo.lock";
|
||||
outputHashes = {
|
||||
"obscura-0.1.0" = "04libm9gibw6lphvncpxhr0bzcm9ammn4z1bk0sh11cap7plhkvz";
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue