Skip to content

Commit

Permalink
WIP refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Mar 13, 2024
1 parent 6dac7f4 commit aaeda26
Show file tree
Hide file tree
Showing 35 changed files with 16,399 additions and 113 deletions.
60 changes: 0 additions & 60 deletions nix/deterministic-zome.nix

This file was deleted.

60 changes: 60 additions & 0 deletions nix/fixtures/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "zome",
"name": "app",
"author": "",
"scripts": {
"build": "",
"start": "node index.js"
},
"dependencies": {
"@holochain-open-dev/profiles": "file:/nix/store/cywpx2ixlp41ni71wm22csz536w713k0--holochain-open-dev-profiles/lib"
"service": "X"
},
"description": "",
"keywords": [],
"license": "ISC",
"main": "index.js",
"type": "module",
"version": "1.0.0"
}
}
File renamed without changes.
18 changes: 9 additions & 9 deletions nix/fixture/flake.nix → nix/fixtures/app-repo/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
url = "github:holochain/holochain";
inputs.versions.follows = "versions";
};
hcUtils.url = "path:../..";
profiles.url = "github:holochain-open-dev/profiles/nixify";
hcUtils.url = "path:../../..";
service.url = "path:../service-repo";
};

outputs = inputs @ { ... }:
Expand Down Expand Up @@ -45,8 +45,8 @@
}
{
imports = [
./happ.nix
./zome/ui.nix
./app/happ.nix
./app/ui.nix
];

systems = builtins.attrNames inputs.holochain.devShells;
Expand All @@ -65,14 +65,14 @@
nodejs_20
# more packages go here
cargo-nextest
(inputs.hcUtils.lib.syncNpmDependenciesWithNix {
inherit system;
holochainPackages = upstreamNpmPackages {inherit inputs';};
})
# (inputs.hcUtils.lib.syncNpmDependenciesWithNix {
# inherit system;
# holochainPackages = upstreamNpmPackages {inherit inputs';};
# })
];

shellHook = ''
sync-npm-dependencies-with-nix
# sync-npm-dependencies-with-nix
'';
};
# packages.i = inputs'.profiles.packages.profiles_ui;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"author": "",
"dependencies": {
"zome": "file:/nix/store/aqjds5pi5s3vw0xjmzzlz0phkhz9y8qz-zome/lib"
},
"description": "",
"keywords": [],
"license": "ISC",
"name": "fixture",
"version": "1.0.0",
"workspaces": [
"./zome/"
"./app/"
]
}
}
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit aaeda26

Please sign in to comment.