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

Nix Os & Devbox & pkg-config #2440

Open
oleg-lukasonok opened this issue Oct 17, 2024 · 0 comments
Open

Nix Os & Devbox & pkg-config #2440

oleg-lukasonok opened this issue Oct 17, 2024 · 0 comments

Comments

@oleg-lukasonok
Copy link

oleg-lukasonok commented Oct 17, 2024

Hello,

During npm install within application which uses canvas, I am facing below issue:

gyp: Call to 'pkg-config cairo --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp

Devbox version: 0.13.5

Here is my devbox.json:

{
  "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
  "packages": [
    "[email protected]",
    "nodejs@18",
    "pkg-config@latest",
    "cairo@latest",
    "pango@latest",
    "libpng@latest",
    "giflib@latest",
    "librsvg@latest",
    "libjpeg@latest",
    "pixman@latest"
  ],
  "env": {
    "DEVBOX_COREPACK_ENABLED": "true"
  },
  "shell": {
    "init_hook": [],
    "scripts": {
      "test": [
        "echo \"Error: no test specified\" && exit 1"
      ]
    }
  }
}

Maybe anyone has an idea what could be an issue ? Or how to fix it?

@oleg-lukasonok oleg-lukasonok changed the title Nix Os & Devbox Nix Os & Devbox & pkg-config Oct 17, 2024
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