Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: attribute 'overrideAttrs' missing when running nodejs-granular-v3 devshell #941

Open
ggPeti opened this issue Apr 26, 2024 · 0 comments

Comments

@ggPeti
Copy link
Contributor

ggPeti commented Apr 26, 2024

When running nix develop .#test, I get

 error: attribute 'overrideAttrs' missing

       at /nix/store/fiaq7973xg0578vd3h1b46qxs6m694nf-source/modules/dream2nix/nodejs-granular-v3/devShell.nix:39:22:

           38|     */
           39|     nodeModulesDrv = pkg.overrideAttrs (old: {
             |                      ^
           40|       installMethod = "copy";

where

devShells.test = (dream2nix.lib.evalModules {
  packageSets.nixpkgs = pkgs;
  modules = [
    ({ dream2nix, ... }: {
      imports = with dream2nix.modules.dream2nix; [ nodejs-package-lock-v3 nodejs-granular-v3 ];
      nodejs-package-lock-v3.packageLockFile = ./path-to-some/package-lock.json;
      name = "test";
    })
  ];
}).out.devShell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant