Skip to content

Commit

Permalink
atomic-web: pnpm builder patches failing
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Leightcap <[email protected]>
  • Loading branch information
jleightcap committed Sep 30, 2023
1 parent f7b84d6 commit f5494e2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
14 changes: 9 additions & 5 deletions pkgs/atomic-web/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ with (import ./pnpm2nix-lockfile-6.0 { inherit pkgs; });
mkPnpmPackage rec {
version = "v0.34.5";

prePatch = "exit 1";

patches = [
./package-json-version.patch
];

src = fetchFromGitHub {
# https://github.com/atomicdata-dev/atomic-server.git
owner = "atomicdata-dev";
repo = "atomic-server";
rev = version;
hash = "sha256-rqucTVvlXe9CXPsZ2cNzyDK9onXw/H96PzWpTR7Fdl4=";
repo = "atomic-data-browser";
rev = "9b913058508c9da6a4062fd0fe39fcefc1205c4d";
hash = "sha256-lQDfFXnXCW+fhs1ayjbsm3VojxvMEh9eiUyHoTm3qtg=";
};

sourceRoot = "${src}/browser";
}
10 changes: 10 additions & 0 deletions pkgs/atomic-web/package-json-version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
diff --git a/package.json b/package.json
index e31f630a..ea720206 100644
--- a/package.json
+++ b/package.json
@@ -1,4 +1,5 @@
{
+ "version": "v0.34.5",
"devDependencies": {
"@esm-bundle/chai": "4.3.4",
"@jest/globals": "^29.3.1",

0 comments on commit f5494e2

Please sign in to comment.