DavHau

Results 328 comments of DavHau

> I'm trying to package nodejs sharp and I'm having no luck getting it to compile because node-gyp is missing and it doesn't have it in its package.json. How does...

> Perhaps the cleanest way would be to write _d2nBuild_ as a script to package.json, which runs the provided script, and then npm run _d2nBuild_. That way it's also recorded...

I think we should never automatically exclude devDependencies for top-level packages. Some packages might not have a `build` script and instead use some other command for building. We can never...

Hi @psionic-k > My goal is to implement independent derivation building in a way suitable for nixpkgs long-term, maximizing cache granularity. Independent (or granular) derivation building is a goal of...

Currently our sourceSpec supports a `dir` argument which allows to specify a subdir of a source to be the actual source. Currently this directory path is calculated at eval time...

For now you can let your builder access the original fetched file via the `.original` attrbiute of the source returned by `getSource`. Though it doesn't always exist. This should work:...

There are different strategies on finding sets of edges to remove to break cycles. I'm not sure if there is a clear right or wrong solution. It always depends on...

> You cannot have eslint without having trimend and trimstart in its package under lib/node_modules. As long as any of its parents/ancestors contain this dependency, it is fine, which is...

> Anyway, the eslint example you gave doesn't have eslint in node_modules: > > ``` > $ ll > total 4 > -rw-r--r-- 1 wmertens 491 Jul 15 12:05 flake.nix...

> The reason it detects eslint-utils is because it considers eslint a cyclee. Not sure what you mean. `eslint-utils` is a [direct dependency of eslint](https://github.com/eslint/eslint/blob/845c4f40274ccb3727c624db44c7a23aafa71318/package.json#L66). It is installed as it...