Comments (2)
See this PR. you don't need to use npx
, as typescript exists in nixpkgs as nixpkgs.nodePackages.typescript
. As for ts-node, add it as a shell hook from your built package. run nix develop .#ts-dream-example
kylegentle/ts-dream-example#1
from dream2nix.
Any idea what might be wrong in this typescript package I'm trying to make for work:
https://github.com/input-output-hk/cardano-js-sdk
what I've got so more:
{
inputs = {
dream2nix.url = "github:nix-community/dream2nix";
src.url = "github:input-output-hk/cardano-js-sdk/0.2.0";
src.flake = false;
};
outputs = {
self,
dream2nix,
src,
nixpkgs,
} @ inp: let
dream2nix = inp.dream2nix.lib2.init {
systems = ["x86_64-linux"];
config.projectRoot = ./.;
};
in
(dream2nix.makeFlakeOutputs {
source = src;
packageOverrides = {
"@cardano-sdk/cip2".add-inputs.buildInputs = with nixpkgs.legacyPackages.x86_64-linux;
self: self ++ [ nodePackages.typescript ];
};
});
}
And the error:
> Traceback (most recent call last):
> File "/nix/store/5qy9rak9s4q44z9pv46njdibs0yspy0b-fix-package.py", line 80, in <module>
> raise Exception(f"binary specified in package.json doesn't exist: {bin}")
> Exception: binary specified in package.json doesn't exist: dist/index.js
from dream2nix.
Related Issues (20)
- Trouble Using Yarn Lockfile (nodejs-package-lock-v3) HOT 7
- Basic Documentation HOT 1
- Setuptools Collision HOT 4
- pip: do not know how to unpack source archive xxxx.whl HOT 1
- Separate the pyEnv and devShell parts of pip module into their own module(s)
- Start shell with dependencies without creating a new flake file HOT 2
- PDM Locking fails if only config.deps.python is set HOT 1
- nodejs: native module compilation failure, need help configuring nativeBuildInputs HOT 3
- Pip installed CLI tool not in PATH HOT 3
- WIP - pdm add spyder # python3.12-pyqt5-5.15.10 - pdm.sourceSelector.<function body> is not of type 'string'. HOT 2
- WIP - pdm - Python version from d2n nixpkgs HOT 1
- [help] usage of multi-derivation-package HOT 1
- Question: Python package with libusb dependency HOT 2
- error: infinite recursion encountered # nix run github:nix-community/dream2nix#__pythonEnv extract-msg HOT 2
- realpath: command not found HOT 1
- How to make the lock building process for python proxy aware?
- Error: attribute 'overrideAttrs' missing when running nodejs-granular-v3 devshell
- bad (null) hash for package from extra pypi index
- Unable to provide nativeBuildInputs to nodejs transitive dependencies
- error: No valid filename found in the list of filenames: - PyQt5_Qt5-5.15.13-py3-none-macosx_10_13_x86_64.whl
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dream2nix.