Skip to content

Commit

Permalink
fix(ctl-full): missing node_modules on purs-nix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
klarkc committed Feb 25, 2023
1 parent 3d8865d commit b7b1968
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 32 deletions.
29 changes: 6 additions & 23 deletions ctl-full/flake.lock

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

7 changes: 0 additions & 7 deletions ctl-full/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
nixpkgs.follows = "ctl-nix/nixpkgs";
purs-nix.follows = "ctl-nix/purs-nix";
utils.url = "github:ursi/flake-utils";
npmlock2nix.url = "github:nix-community/npmlock2nix";
npmlock2nix.flake = false;
};

outputs = { self, utils, ... }@inputs:
Expand Down Expand Up @@ -35,8 +33,6 @@
inherit system;
overlays = [ ctl-nix ];
};
npmlock2nix = import inputs.npmlock2nix { inherit pkgs; };
node_modules = npmlock2nix.v1.node_modules { src = ./.; } + /node_modules;
ps = purs-nix.purs
{
purescript = purs;
Expand All @@ -48,9 +44,6 @@
[
cardano-transaction-lib
];
# FFI dependencies
# TODO Affjax FFI should be in ctl-nix
foreign.Affjax.node_modules = node_modules;
};
ps-command = ps.command { };
prebuilt = (pkgs.arion.build {
Expand Down
3 changes: 1 addition & 2 deletions ctl-full/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"node-polyfill-webpack-plugin": "^1.1.4",
"webpack": "^5.67.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.7.4",
"xhr2": "^0.2.1"
"webpack-dev-server": "^4.7.4"
}
}

0 comments on commit b7b1968

Please sign in to comment.