Skip to content

Commit 10eca9b

Browse files
committed
Sun Dec 14 21:33:12 PST 2025
1 parent 141e46c commit 10eca9b

5 files changed

Lines changed: 15 additions & 20 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ members = [
99
]
1010

1111
[workspace.package]
12-
version = "0.1.0"
12+
version = "0.2.0"
1313
edition = "2024"
1414
license = "GPL-3.0-only"
1515
authors = ["Mykhailo Marynenko <mykhailo@0x77.dev>"]

bun.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/package.nix

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,22 @@ rec {
1717
|| (craneLib.filterCargoSources path type);
1818
};
1919

20+
# Read version from Cargo.toml
21+
cargoToml = builtins.fromTOML (builtins.readFile ../Cargo.toml);
22+
version = cargoToml.workspace.package.version;
23+
2024
commonArgs = {
2125
inherit src;
2226
strictDeps = true;
2327

2428
# Explicitly set for workspace builds
2529
pname = "pdf-sign";
26-
version = "0.1.0";
30+
inherit version;
2731

2832
nativeBuildInputs = with pkgs; [
2933
pkg-config
3034
capnproto
3135
];
32-
33-
# Our repo's `.cargo/config.toml` sets `[build] target = [...]` for IDE analysis.
34-
# In Nix builds we typically only have std installed for the host target, so
35-
# force Cargo to build for the host here.
36-
CARGO_BUILD_TARGET =
37-
if pkgs.stdenv.hostPlatform.isDarwin then "aarch64-apple-darwin" else "x86_64-unknown-linux-gnu";
3836
};
3937

4038
cargoArtifacts = craneLib.buildDepsOnly commonArgs;
@@ -67,16 +65,13 @@ rec {
6765

6866
config = {
6967
Cmd = [ "${lib.getExe pdfSign}" ];
70-
WorkingDir = "/work";
68+
WorkingDir = "/data";
7169
Env = [
7270
"GNUPGHOME=/gnupg"
7371
];
74-
ExposedPorts = {
75-
"8080/tcp" = { };
76-
};
7772
Volumes = {
7873
"/gnupg" = { };
79-
"/work" = { };
74+
"/data" = { };
8075
};
8176
};
8277
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pdf-sign/workspace",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"private": true,
55
"workspaces": [
66
"crates/wasm/pkg"

0 commit comments

Comments
 (0)