build(nix): updated nix hashes
This commit is contained in:
parent
3fd1e1f4a3
commit
bce4d598fb
25
flake.nix
25
flake.nix
@ -29,6 +29,17 @@
|
|||||||
"x86_64-darwin"
|
"x86_64-darwin"
|
||||||
"aarch64-darwin"
|
"aarch64-darwin"
|
||||||
];
|
];
|
||||||
|
forSystem = f:
|
||||||
|
nixpkgs.lib.genAttrs build-systems (
|
||||||
|
system:
|
||||||
|
f {
|
||||||
|
inherit system;
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
host-systems = [
|
host-systems = [
|
||||||
{
|
{
|
||||||
GOOS = "linux";
|
GOOS = "linux";
|
||||||
@ -55,16 +66,6 @@
|
|||||||
GOARCH = "arm64";
|
GOARCH = "arm64";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
forSystem = f:
|
|
||||||
nixpkgs.lib.genAttrs build-systems (
|
|
||||||
system:
|
|
||||||
f {
|
|
||||||
inherit system;
|
|
||||||
pkgs = import nixpkgs {
|
|
||||||
inherit system;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
);
|
|
||||||
in {
|
in {
|
||||||
devShells = forSystem ({pkgs, ...}: let
|
devShells = forSystem ({pkgs, ...}: let
|
||||||
protoc-gen-connect-openapi = pkgs.buildGoModule {
|
protoc-gen-connect-openapi = pkgs.buildGoModule {
|
||||||
@ -126,7 +127,7 @@
|
|||||||
pname = "check-client";
|
pname = "check-client";
|
||||||
inherit version;
|
inherit version;
|
||||||
src = ./client;
|
src = ./client;
|
||||||
npmDepsHash = "sha256-rL8fnFzIuseYEmUkZ2eN+RB7UZCYA7mV4Ck9aZVR2to=";
|
npmDepsHash = "sha256-TRfAYMEGMDV2F5lSB/g3VjojxA6Z/6fQasI1SQvU68A=";
|
||||||
dontNpmInstall = true;
|
dontNpmInstall = true;
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
@ -188,7 +189,7 @@
|
|||||||
client = pkgs.buildNpmPackage {
|
client = pkgs.buildNpmPackage {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
src = ./client;
|
src = ./client;
|
||||||
npmDepsHash = "sha256-rL8fnFzIuseYEmUkZ2eN+RB7UZCYA7mV4Ck9aZVR2to=";
|
npmDepsHash = "sha256-TRfAYMEGMDV2F5lSB/g3VjojxA6Z/6fQasI1SQvU68A=";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cp -r build "$out"
|
cp -r build "$out"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user