You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the process of trying to build and run/emulate a cordova app on nixos. I wanted to try using nix-npm-buildpackage, because electron has native dependencies in node_modules; so it's hard to make it work out.
So I need to somehow have a shell that has the node modules defined by package-lock.json installed, so that I could run the cordova commands in there.
However, I can't figure out a way to do that with nix-npm-buildpackage. (npmlock2nix has a built-in .shell that builds such a shell, but it fails actually building electron nix-community/npmlock2nix#162)
Do you have any hints as to how I could get a shell with the modules defined in package-lock.json installed using nix-npm-buildpackage?
PS: sorry for sending this issue with an empty contents at first, I misclicked.
The text was updated successfully, but these errors were encountered:
Hey!
I'm in the process of trying to build and run/emulate a cordova app on nixos. I wanted to try using nix-npm-buildpackage, because
electron
has native dependencies innode_modules
; so it's hard to make it work out.So I need to somehow have a shell that has the node modules defined by package-lock.json installed, so that I could run the cordova commands in there.
However, I can't figure out a way to do that with nix-npm-buildpackage. (npmlock2nix has a built-in
.shell
that builds such a shell, but it fails actually building electron nix-community/npmlock2nix#162)Do you have any hints as to how I could get a shell with the modules defined in package-lock.json installed using nix-npm-buildpackage?
PS: sorry for sending this issue with an empty contents at first, I misclicked.
The text was updated successfully, but these errors were encountered: