Skip to content

Commit a99edd6

Browse files
committed
wasmtime was updated in nixpkgs
1 parent 25816f1 commit a99edd6

File tree

3 files changed

+16
-93
lines changed

3 files changed

+16
-93
lines changed

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
outputs =
99
{ self, nixpkgs }:
1010
let
11-
version = "0.6.3";
12-
vendorHash = "sha256-LcgdJIsn3/fHv3NGvGdfq/Y3N7CTuIH/b5Rv5tEMUg8=";
11+
version = "0.7.0";
12+
vendorHash = "sha256-IsLAIKYuKhlD71fad8FuayTFbdQJla4ifjs8TexXDYQ=";
1313

1414
mkPlugin =
1515
pkgs: name: path:
@@ -40,15 +40,13 @@
4040
let
4141
pkgs = import nixpkgs { system = "x86_64-linux"; };
4242
lib = pkgs.lib;
43-
44-
wasmtime = pkgs.callPackage ./nix/pkgs/wasmtime.nix { };
4543
in
4644
rec {
4745
cli = pkgs.callPackage ./nix/pkgs/cli.nix {
48-
inherit wasmtime version vendorHash;
46+
inherit version vendorHash;
4947
};
5048
server = pkgs.callPackage ./nix/pkgs/server.nix {
51-
inherit wasmtime version vendorHash;
49+
inherit version vendorHash;
5250
};
5351
default = server;
5452

@@ -71,15 +69,13 @@
7169
let
7270
pkgs = import nixpkgs { system = "aarch64-linux"; };
7371
lib = pkgs.lib;
74-
75-
wasmtime = pkgs.callPackage ./nix/pkgs/wasmtime.nix { };
7672
in
7773
rec {
7874
cli = pkgs.callPackage ./nix/pkgs/cli.nix {
79-
inherit wasmtime version vendorHash;
75+
inherit version vendorHash;
8076
};
8177
server = pkgs.callPackage ./nix/pkgs/server.nix {
82-
inherit wasmtime version vendorHash;
78+
inherit version vendorHash;
8379
};
8480
default = server;
8581

@@ -114,6 +110,8 @@
114110

115111
# wasm
116112
tinygo
113+
wasmtime
114+
wasmtime.dev
117115

118116
# Deps for podman
119117
pkg-config
@@ -127,6 +125,11 @@
127125
gopls
128126
lua-language-server
129127
];
128+
129+
shellHook = ''
130+
export GOOS=linux
131+
export GOARCH=amd64
132+
'';
130133
};
131134

132135
overlays.default = final: prev: {

nix/pkgs/wasmtime.nix

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)