wow
This commit is contained in:
parent
ead5316cee
commit
967d9f0d41
2 changed files with 16 additions and 5 deletions
|
|
@ -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