Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

snappy does not provide a pkg-config #72179

Copy link
Copy link

Description

@lavoiesl
Issue body actions

Describe the bug
Because snappy does not install a pkgconfig file, you can't take snappy as a buildInput, packages will never find it.

To Reproduce

$ nix-shell -p snappy snappy.dev
[nix-shell:~]$ pkg-config --debug --libs snappy
Error printing enabled by default due to use of output options besides --exists, --atleast/exact/max-version or --list-all. Value of --silence-errors: 0
Error printing enabled
Adding virtual 'pkg-config' package to list of known packages
Looking for package 'snappy'
Looking for package 'snappy-uninstalled'
Package snappy was not found in the pkg-config search path.
Perhaps you should add the directory containing `snappy.pc'
to the PKG_CONFIG_PATH environment variable
No package 'snappy' found

Expected behavior

$ pkg-config snappy --libs
-L/nix/store/hknzbw87dnmz7zq0lf99vjf7bf2l2hps-snappy-1.1.7/lib -lsnappy
$ pkg-config snappy --cflags
-I/nix/store/z67qhiawswr2jq1p71r4f2987czx3slh-snappy-1.1.7-dev/include

Metadata

  • system: "x86_64-darwin"
  • host os: Darwin 19.0.0, macOS 10.15
  • multi-user?: no
  • sandbox: no
  • version: nix-env (Nix) 2.3.1
  • channels(seb): "nixpkgs-20.03pre197736.91d5b3f07d2"
  • nixpkgs: /Users/seb/.nix-defexpr/channels/nixpkgs

Maintainer information:

attribute: snappy.dev
# a list of nixos modules affected by the problem
module:

cc @wkennington @viric

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md2.status: wait-for-upstreamWaiting for upstream fix (or their other action).Waiting for upstream fix (or their other action).

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.